I've tested with this result on POSE:

SysTicksPerSecond() return 100

BUT:
{
UInt32 startTime;
 startTime = TimGetSeconds();
 while (TimGetSeconds()==startTime){}  //wait until end of the current
second
 pref->ticksFor1sec = TimGetTicks();  //start of a second
 startTime++;
 while (TimGetSeconds()==startTime){}  //wait for a second
 ticksFor1sec = TimGetTicks() - ticksFor1sec;
}

ticksFor1sec is 356!!!

The tick count when emulating a device with POSE isn't constrained to 100 per second. The actual value varies, depending on the speed of your hardware, what code/traps your application is executing, etc. but usually it's much faster (as you've found out).


-- Ken
--
Ken Krugler
<http://www.krugler.org>
+1 530-265-2225

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to