Opened 8 years ago

Closed 8 years ago

#924 closed enhancement (fixed)

Add monotonic clock support

Reported by: fare Owned by:
Priority: trivial Milestone:
Component: other Version: trunk
Keywords: Cc:


Dan Weinreb 2008-12-05 10:58:05 EST It would be nice to have a way to get "monotonic" time from Linux, which is obtained by

clock_gettime(CLOCK_MONOTONIC, &ts);

Priority: If you have to wash your dog, do that first.

NB: This was ITA bug 51985.

Change History (3)

comment:1 Changed 8 years ago by fare

I don't know why this bug was originally open. Probably for some kind of timeout support.

On the other hand, note that IOLib already provides a CL interface to this functionality, and a handling of an event loop with timeouts.

comment:2 Changed 8 years ago by rme

  • Priority changed from normal to trivial

comment:3 Changed 8 years ago by gb

  • Resolution set to fixed
  • Status changed from new to closed

(In [15313]) Define and export CURRENT-TIME-IN-NANOSECONDS. Use CLOCK_MONOTONIC if available. Fixes ticket:924

Note: See TracTickets for help on using tickets.