On Thu, 2014-11-13 at 16:58 +0000, Barry Scott wrote:
On Thu 13 Nov 2014 09:31:24 Chuck Anderson wrote:
On Thu, Nov 13, 2014 at 01:59:20PM +0000, Barry Scott wrote:

How would monotonic time handle suspend/resume?

Good question, I recall that monotonic time freezes while suspended.

In Linux 2.6.39, CLOCK_BOOTTIME was added, which is essentially
monotonic time that accounts for time when suspended (rtc progresses, no
chance of it being reconfigured).

We use that one around NetworkManager:

We essentially keep the CLOCK_MONOTONIC support so that the test suite
doesn't needlessly fail on el6 (2.6.32) build hosts.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]