Re: Pakistan Earthquake - September 25, 2013
Posted by Roger Hunter on September 28, 2013 at 10:40:35:

EQF;

> Finally, my Perl forecasting computer programs are running again at full speed. But even under the best conditions they are extremely slow with their calculations. A way around that would be to call a TrueBasic program and have it do the calculations. Unfortunately, unlike Perl, TrueBasic is what I refer to as a processor hog. When running it uses 100% of the processor time even when it is waiting for keyboard input. Do any of the TrueBasic experts know if there is a way to get it to pause for say 1/10 second at a time and then check a file for new data and not keep the processor running during that time?

TB has a "PAUSE n" command but I don't know if it's using much CPU time during that interval. It must be using some, to count the milliseconds in n.

> If the system has a dual core processor this is not a problem. TrueBasic keeps one busy. And the other says free for other projects. But most of my systems are single core. So, TrueBasic creates problems when it is kept running in the background.

Time to upgrade the hardware. But can you tell such a PC which core to use?

Roger


Follow Ups:
     ● Re: Pakistan Earthquake - September 25, 2013 - Roger Hunter  11:16:50 - 9/28/2013  (100926)  (1)
        ● Re: Pakistan Earthquake - September 25, 2013 - Skywise  16:25:24 - 9/28/2013  (100927)  (1)
           ● Re: Pakistan Earthquake - September 25, 2013 - Roger Hunter  17:24:53 - 9/28/2013  (100928)  (1)
              ● Re: Pakistan Earthquake - September 25, 2013 - Skywise  18:39:25 - 9/28/2013  (100929)  (1)
                 ● Re: Pakistan Earthquake - September 25, 2013 - Roger Hunter  19:00:13 - 9/28/2013  (100930)  (1)
                    ● Re: Pakistan Earthquake - September 25, 2013 - Skywise  19:58:40 - 9/28/2013  (100931)  (1)
                       ● Re: Pakistan Earthquake - September 25, 2013 - EQF  22:06:31 - 9/29/2013  (100932)  (1)
                          ● Re: Pakistan Earthquake - September 25, 2013 - Skywise  00:28:00 - 10/1/2013  (100936)  (1)
                             ● Re: Pakistan Earthquake - September 25, 2013 - EQF  18:05:54 - 10/1/2013  (100945)  (1)
                                ● Re: Pakistan Earthquake - September 25, 2013 - Roger Hunter  18:50:16 - 10/1/2013  (100946)  (0)