Re: Hardware Clock
Re: Hardware Clock
- Subject: Re: Hardware Clock
- From: Ed Wynne <email@hidden>
- Date: Sat, 8 Jul 2006 02:48:53 -0400
On Jul 8, 2006, at 1:38 AM, Gerriet M. Denkmann wrote:
The problem: whenever (B) is initialized from (A) a random value in
the range -0.5 ... +0.5 seconds is added to the time.
To test: make the time (B) equal to the correct wall clock time.
Sleep. Awake. Compare time to wall clock. See difference of
-0.5 ... +0.5 seconds.
The hardware clock is probably only second accurate and its likely
the OS only samples it once, instead of polling for the next second
increment. This would save about .5s (on average) from the wakeup time.
-Ed
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden