[Python-checkins] peps: PEP 418: Rewrite time.monotonic() definition

victor.stinner python-checkins at python.org
Wed Apr 11 02:04:55 CEST 2012


http://hg.python.org/peps/rev/310548c3a12c
changeset:   4216:310548c3a12c
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Apr 11 02:04:51 2012 +0200
summary:
  PEP 418: Rewrite time.monotonic() definition

files:
  pep-0418.txt |  9 +++------
  1 files changed, 3 insertions(+), 6 deletions(-)


diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -82,12 +82,9 @@
 time.monotonic()
 ----------------
 
-Monotonic clock, cannot go backward. Its rate may be adjusted by NTP. The
-reference point of the returned value is undefined so only the difference of
-consecutive calls is valid.
-
-The elapsed time may or may not include time the system spends in
-sleep or hibernation; this depends on the operating system.
+Monotonic clock, cannot go backward. It is not affected by system clock
+updates. The reference point of the returned value is undefined so only the
+difference of consecutive calls is valid.
 
 Availability: Windows, Mac OS X, Unix.
 

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list