gettimeofday() does not returns usec resolution

Lapo Luchini lapo@lapo.it
Thu Jan 24 02:32:00 GMT 2002


> As long as the calibration only occurs when someone is using
> gettimeofday, not on every cygwin1.dll load, then that sounds fine to
> me.

I wouldn't call it "calibration" is just a quick call to the old
gettimeofday() and, yes, it's done only on the first call (the value is
retanied in a static variable)... so maybe you have 1-2 usec lost on the
first call.

--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



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