[PATCH] gettimeofday time travels

Christopher Faylor cgf@redhat.com
Thu May 9 09:07:00 GMT 2002


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/



More information about the Cygwin mailing list