clock_[get|set]res timespec conversions
Brian Ford
Brian.Ford@flightsafety.com
Fri Feb 10 23:55:00 GMT 2006
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...
More information about the Cygwin-patches
mailing list