This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gettimeofday


On Sat, 28 Feb 2004, Tim Prince wrote:

> The implementation used by cygwin doesn't set the fractional seconds
> fields, so you must fall back on the Windows API for milliseconds.
>
and
> The cygwin specific code in the g77 date_and_time() source code shows use
> of the Windows API call to compensate for this lack in cygwin
> gettimeofday().
>
I think your information may be out-of-date.  gettimeofday()
appears to currently have approximately one to two millisecond resolution
on XP.  What do you see?

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]