[PATCH] gettimeofday time travels V2

Philip Aston paston@bea.com
Wed May 22 19:36:00 GMT 2002


Christopher Faylor writes:
 > I hate to say this, but after reading various references on the
 > QueryPerformance* functions, I don't think that we should be using
 > them.

I'm tired and probably hysterical, but this makes me smile.

 > There was a clamor to implement things this way a few months ago,
 > and I implemented this to provide improved precision. However, it
 > looks like I sacrificed accuracy for precision. Others have already
 > pointed this out and after a google/msdn search I am now convinced.
 > 
 > I think the best we can probably do is to use the multimedia timer
 > functions to get 1ms accuracy and I'll be redoing gettimeofday to
 > use those in the next couple of days.
 > 
 > I'm *very* sorry for making you jump through hoops.
 > 
 > If someone wants to step forward to convince me that I'm wrong in
 > now thinking that the QueryPerformance* functions are bad news,
 > then please feel free.
 > 
 > Otherwise, 1.3.11 will have YA implementation of gettimeofday.

No worries, it kills me daily - I just want it fixed.

Now if there's any other requirements for windows event listeners,
I've got just the code...

- Phil


--
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