Processor Load
leonp at plris.com
leonp at plris.com
Tue Sep 26 08:15:13 UTC 2000
At 17:17 25/09/2000 -0400, you wrote:
> Is there an easy way to get/calculate information on the amount
> of time the
>system is spending in user/system/idle?
I did the following:
- In the idle task I wrote: while(1) { counter++; };
- Stopped all tasks, so that idle task was the only one to run
- Measured how many counter increments where in 1min, this showed me the
"price" of one count in the loop.
- Opened all tasks, gave the system full load, reset the counter and
measured once more.
May be there are other, more useful ways?
Leon Pollak
leonp at plris.com
More information about the users
mailing list