d. 29/11/00 15:39 skrev Shay p� [EMAIL PROTECTED]:
> Hi,
> i read somewhere that the CPU is in doze mode almost 95% of the time.
> i want to know if my application is taking alot of CPU.
>
> HOW can i measure the CPU usage ?
>
> Shay
>
>
You can call TimGetTicks before and after your call to EvtGetEvent and
calculate for how long you have not had the CPU.
This does not tell me how much dozing has been going on as the system
probably use a bit itself, but i guess it is close.
TimGetTicks does however not work too well in POSE. I get 237+ of those
ticks pr. second even if SysTicksPerSecond tells me that 100 should be the
number (not surprising).
Henrik Dalgaard
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/