My understanding is that both ticks and seconds are derived from a
hardware clock oscillator. There should be no 'drift' between ticks and
seconds on the device itself. (Of course, drift between the hardware on
the palm and your mantlepiece atomic clock will always happen)

 Ticks just seem to be a convenient construction to allow you to deal
with things easily in a sub-second timed manner, without having to
question hardware directly, or deal with microseconds or whatever. Being
able to specify a event loop timeout of '150' ticks for instance.

 Hope this helps :)

 Howard.

--
Howard Tomlinson - CEO - [EMAIL PROTECTED] 
http://www.astraware.com/

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On 
> Behalf Of [EMAIL PROTECTED]
> Sent: 07 May 2002 00:12
> To: Palm Developer Forum
> Subject: RE: ticks time vs. secs time
> 
> 
> 
> Well, uh, yeah ...
> 
> I appreciate you taking the time to look at my questions, but 
> it doesn't really say anything about what I am asking.
> 
> Wall time (or locally observed time, either of which is a 
> better choice of words than "real-time" in this case) could 
> simply be a particular number of ticks rounded to seconds and 
> that value is initialized from some sort of real-time clock 
> hardware when the Palm device is powered up.  Or, wall time 
> could be directly queries to the real-time clock hardware.
> 
> If the former is the case, then there is always a direct 
> relationship between ticks and seconds.  If the latter is the 
> case, then there is an opportunity for drift to creep in and 
> there might not always be a known relationship between ticks 
> and seconds.
> 
> If the definition of the TimGetSeconds() and TimGetTicks() 
> functions gave some guidance here, then I could just trust 
> that each implementation (each version of PalmOS) did the 
> right thing, but it doesn't.  Is this something that Palm 
> deliberately left open or just an omission?
> 
> alan
> 
> ---Original Message---
> From: "Palm Developer Forum" <[EMAIL PROTECTED]>
> To: Palm Developer Forum <[EMAIL PROTECTED]>
> Date: Mon, 6 May 2002 15:11:17 -0700 
> Subject: RE: ticks time vs. secs time
> 
> The tick clock stops while the device is "off", whereas the 
> real-time clock obviously keeps going.
> 
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
> 
> 



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

Reply via email to