This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: gettimeofday is 1000 us slow
- To: joe dot konczal at nist dot gov
- Subject: Re: gettimeofday is 1000 us slow
- From: DJ Delorie <dj at delorie dot com>
- Date: Wed, 30 Aug 2000 18:39:52 -0400
- CC: cygwin at sourceware dot cygnus dot com
- References: <200008302128.RAA13218@zingy.ncsl.nist.gov>
> 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