One of my apps has a stopwatch function. I calculate an elapsed time in system tics (storing Start = TimGetTicks() at start event and then TimGetTicks() - Start for elapsed). I then convert to min and sec using:
UInt32 min, rem, sec; UInt32 ticspersec = SysTicksPerSecond(); min = elapsed / (60L * ticspersec ); rem = elapsed % (60L * ticspersec ); sec = rem / ticspersec; I notice that with the emulator my stopwatch shows 1:13 (one minute 13 seconds) after 60 seconds (by a Polar watch). I do not have a Palm to test this timing issue, and am wondering if this is an error within POSE (m505 ROM), or if my time calculation is just wrong (can't find any errors with it though). I see ticspersec = 100 in the debugger, which means that I am getting 7300 tics on the emulator in 60 seconds . . . or something like that. None of the objects in question are in motion, so any relativistic effects should not be in play ;-) Paul -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
