[Python-checkins] peps: PEP 418: mach_absolute_time() doesn't include suspend time

victor.stinner python-checkins at python.org
Wed Apr 11 00:58:38 CEST 2012


http://hg.python.org/peps/rev/7f7810f0b217
changeset: 4213:7f7810f0b217
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Apr 11 00:58:33 2012 +0200
summary:
 PEP 418: mach_absolute_time() doesn't include suspend time
files:
 pep-0418.txt | 6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -314,7 +314,7 @@
 CLOCK_HIGHRES 1 ns No Yes ?
 CLOCK_MONOTONIC 1 ns Slewed on Linux Yes No
 CLOCK_MONOTONIC_RAW 1 ns No Yes No
-mach_absolute_time() 1 ns No ? ?
+mach_absolute_time() 1 ns No Yes No
 QueryPerformanceCounter() \- No Yes ?
 GetTickCount[64]() 1 ms No Yes Yes
 timeGetTime() 1 ms No Yes ?
@@ -832,6 +832,10 @@
 On OpenIndiana, CLOCK_MONOTONIC include time the system spends in sleep;
 sleep() is not affected by system clock update.
 
+On Mac OS X, mach_absolute_time() include time the system spends in sleep;
+sleep() is not affected by system clock update. Sleep is interrupted during
+suspend.
+
 
 Sleeping
 ========
-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /