gettimeofday is 1000 us slow
DJ Delorie
dj@delorie.com
Wed Aug 30 15:40:00 GMT 2000
> In cygwin-1.1.1/winsup/cygwin/times.cc, line 180, s.wMilliseconds is
> set to 1, but it should be zero.
Fixed.
> The correct value for factor is 0x19db1ded53e8000LL, not
> 0x19db1ded53ea710LL.
Fixed.
> In line 175, the correct value for s.wDayOfWeek is 4, not 5,
Fixed, but you're right about it being ignored.
> If the time is obtained directly as a FILETIME with
> GetSystemTimeAsFileTime(), then Windows 2000 gives you fractions of
> milliseconds, although I have not verified their accuracy.
Changed. NT's internal system time resolution is only a millisecond
anyway, documentation notwithstanding. If anyone has evidence to the
contrary for W2K, I'd be interested in hearing it.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list