On Thu, Dec 14, 2017 at 6:33 PM, David Gwynne <[email protected]> wrote:
...

> however, it implies that our CLOCK_MONOTONIC behaviour needs to change.
> right now it represents wall time since boot, but it should be time after
> boot minus how long it has been suspended?
>

Nope.  To quote clock_gettime(3)
     CLOCK_UPTIME     time whose absolute value is the time the system has
                      been running and not suspended, providing accurate
                      uptime measurement, both absolute and interval


Philip Guenther

Reply via email to