[Python-checkins] peps: PEP 418: Fill the "Adjusted by NTP" column of the summary table
victor.stinner
python-checkins at python.org
Fri Mar 30 04:21:22 CEST 2012
http://hg.python.org/peps/rev/2b798036b339
changeset: 4170:2b798036b339
user: Victor Stinner <victor.stinner at gmail.com>
date: Fri Mar 30 03:55:35 2012 +0200
summary:
PEP 418: Fill the "Adjusted by NTP" column of the summary table
files:
pep-0418.txt | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -190,13 +190,13 @@
Name Resolution Adjusted by NTP? Action on suspend
========================= =============== ================ =================
CLOCK_MONOTONIC_RAW 1 ns No ?
-gethrtime 1 ns ? ?
-mach_absolute_time() 1 ns ? ?
-CLOCK_HIGHRES 1 ns ? ?
+gethrtime 1 ns No ?
+mach_absolute_time() 1 ns No ?
+CLOCK_HIGHRES 1 ns No ?
CLOCK_MONOTONIC 1 ns Yes on Linux Stopped on Linux
QueryPerformanceCounter() 0.3 ns - 5 ns No ?
GetTickCount[64]() 1 ms - 15 ms No ?
-timeGetTime() 1 ms - 15 ms ? ?
+timeGetTime() 1 ms - 15 ms No ?
========================= =============== ================ =================
mach_absolute_time
@@ -371,6 +371,9 @@
is ideally suited to performance measurement tasks, where cheap, accurate
interval timing is required.
+Read the `gethrtime() manual page of Solaris 11
+<http://docs.oracle.com/cd/E23824_01/html/821-1465/gethrtime-3c.html#scrolltoc>`_.
+
On Solaris, gethrtime() is the same as clock_gettime(CLOCK_MONOTONIC).
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list