Re: https://bugzilla.redhat.com/show_bug.cgi?id=1155719
- From: Lubomir Rintel <lrintel redhat com>
- To: Barry Scott <barry scott onelan co uk>
- Cc: networkmanager-list gnome org
- Subject: Re: https://bugzilla.redhat.com/show_bug.cgi?id=1155719
- Date: Thu, 13 Nov 2014 19:11:46 +0100
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:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/NetworkManagerUtils.c#n1746
We essentially keep the CLOCK_MONOTONIC support so that the test suite
doesn't needlessly fail on el6 (2.6.32) build hosts.
Lubo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]