hi Niel,
I tried both the functions. These are the results i got while
trying.
We cant find SysGetTicks() in PalmOS 5 UI pdf.
Using SysTicksPerSecond() i get 100 all times.
While using the GETUPTIMEMS() function it returns random number of 5
digits.
Since we are porting from brew need to get a value around this to get
the code flow correct.
Hope i got my problem
Thanks in advance,
Sruthi
Neil Whitworth wrote:
Sruthi wrote:
hi all,
How to get the similar function like the GETUPTIMEMS() in
PalmOS. In brew this function returns time in milliseconds since the
device was powered on. We need to get the same feature in palmOS.
Anyone gone through this issue please guide us.
Thanks,
Sruthi
SysGetTicks() returns the number of 'ticks' since last reboot.
SysTicksPerSecond() returns the numebr of 'ticks' per second.
Check the documentation, as system ticks are NOT advanced while the
device is asleep.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/