This is the mail archive of the
mailing list for the Cygwin project.
Re: gettimeofday() does not returns usec resolution
----- Original Message -----
From: "Lapo Luchini" <email@example.com>
Sent: Thursday, January 24, 2002 12:34 PM
Subject: Re: gettimeofday() does not returns usec resolution
> > Hmm. I do remember this patch. Can you submit this to
> > in the correct format: http://cygwin.com/contrib.html ?
> Given enough time, yes (never hacked that one, but it seems that only
> winsup/cygwin/times.cc would need to be modified).. anyway of course
I'm one of
> the few that actually would like to have this feature so I guess
there's no big
> Of course the number reported by PerformanceTimer has an unknown
> system time (it appears to start at 0 at program start, but that's not
> specified) so I would have calculate an initial "offset" in the "old"
> would give 3-4 microsecond precision on "deltas" but an initial
> the usual 15 milliseconds or so.
As long as the calibration only occurs when someone is using
gettimeofday, not on every cygwin1.dll load, then that sounds fine to
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html