[Python-checkins] peps: PeP 418: Move the CLOCK_BOOTTIME paragraph
victor.stinner
python-checkins at python.org
Thu Apr 12 22:27:16 CEST 2012
http://hg.python.org/peps/rev/1259bf33675d
changeset: 4234:1259bf33675d
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Apr 12 22:26:43 2012 +0200
summary:
PeP 418: Move the CLOCK_BOOTTIME paragraph
files:
pep-0418.txt | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -730,8 +730,8 @@
mach_absolute_time() has a resolution of 1 nanosecond.
-CLOCK_MONOTONIC, CLOCK_MONOTONIC_RAW
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+CLOCK_MONOTONIC, CLOCK_MONOTONIC_RAW, CLOCK_BOOTTIME
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CLOCK_MONOTONIC and CLOCK_MONOTONIC_RAW represent monotonic time since
some unspecified starting point. They cannot be set.
@@ -766,6 +766,11 @@
is not subject to NTP adjustments. CLOCK_MONOTONIC_RAW requires Linux
2.6.28 or later.
+Linux 2.6.39 and glibc 2.14 introduces a new clock: CLOCK_BOOTTIME.
+CLOCK_BOOTTIME is idential to CLOCK_MONOTONIC, except that it also
+includes any time spent in suspend. Read also `Waking systems from
+suspend <http://lwn.net/Articles/429925/>`_ (March, 2011).
+
CLOCK_MONOTONIC stops while the machine is suspended.
``clock_gettime()`` fails if the system does not support the specified
@@ -1139,11 +1144,6 @@
hibernation (ACPI S3 mode). If the system clock jumps backward,
CLOCK_MONOTONIC and CLOCK_MONOTONIC_RAW are not affected.
-Linux 2.6.39 and glibc 2.14 introduces a new clock: CLOCK_BOOTTIME.
-CLOCK_BOOTTIME is idential to CLOCK_MONOTONIC, except that it also
-includes any time spent in suspend. Read also `Waking systems from
-suspend <http://lwn.net/Articles/429925/>`_ (March, 2011).
-
Other operating systems
-----------------------
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list