RichB wrote:I'm running picolog on a netbook with Win XP. To save energy, the netbook slows the processor whenever you aren't actively typing. For example, when typing the processor runs at full speed, 900 MHz. After stopping typing, the processor slows to about 480 MHz. This seems to be the source of my problem.
Changing power settings in the netbook does not change the slow down. I posted a trouble ticket, number TS00034433.
If your comfortable changing your BIOS settings, look for a setting akin to 'Speed Step' or 'Variable Frequency' within the CPU settings and change this to off.
You may even be able to set a CPU frequency between its min/max to hold it.
A CPU at full speed does not mean it will run hot constantly, only when the load increases (it'll get hot quicker though).
I don't think PicoLog consumes that much, so the fan should kick in/out as needed.
The educated guess at the problem is the program being non-frequency aware - so it doesn't notice the speed drop, thus when timing, say 1 MS at 900MHz is X thousand cycles, but that X thousand at 480 MHz takes considerably longer.
The issue isn't there when at startup/fixed CPU frequency as the timer may use that instance to calculate it's timers.
If the speed stepping system offered a call-back of sorts, it may allow programs to be notified of speed changes, allowing the timers to update.
With that, you may be able to fix the speed at 480 MHz. This way you consume less power and the program should run correct for long logs.