This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] gettimeofday time travels
On Thu, May 09, 2002 at 02:18:10PM +0100, Philip Aston wrote:
>I the decision is now a question of efficiency. My approach is
>simpler, and it means we don't have to call both
>QueryPerformanceCounter and GetSystemTime every time. It also means we
>don't have to do arithmetic to get the result of GetSystemTime in some
>form in which it can be compared to our QueryPerformanceCounter
>calculation.
>
>I can't see any other reason to pick ChrisJ's method over mine?
>
>Thoughts anyone...?
An NT only solution is not a solution.
Syncing every "x" seconds also is not a solution.
The correct solution is to resync after events which cause the clock to
stop.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/