This is the mail archive of the cygwin-patches 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: clock_[get|set]res timespec conversions


I said it was late.  Oh, well.

Make that clock_[get|set]RES...

On Fri, 10 Feb 2006, Brian Ford wrote:

> It's late and I haven't had time to test this, but I thought it deserved a
> look.  There appears to be some confusion (at least in my head) about the
> units of gtod.resolution() and minperiod.
>
> 2006-02-10  Brian Ford  <Brian.Ford@FlightSafety.com>
>
> 	* times.cc (clock_getres): Properly convert ms period to struct
> 	timespec.
> 	(clock_setres): Likewise reverse convert.
>
> Let me know if I'm just crazy ;-).  Thanks.

-- 
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...


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