[Python-checkins] peps: PEP 418: complete/update tables for OpenBSD and Windows
victor.stinner
python-checkins at python.org
Wed Apr 18 01:15:18 CEST 2012
http://hg.python.org/peps/rev/047dfc2552a8
changeset: 4262:047dfc2552a8
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Apr 18 01:14:38 2012 +0200
summary:
PEP 418: complete/update tables for OpenBSD and Windows
files:
pep-0418.txt | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -913,7 +913,7 @@
QueryPerformanceCounter Windows Seven 10 ns 9 µs
CLOCK_UPTIME FreeBSD 8.2 11 ns 9 µs
CLOCK_MONOTONIC_COARSE Linux 3.3 1 ms 1 ms
-GetTickCount Windows Seven 16 ms 15 ms
+GetTickCount64() Windows Seven 16 ms 16 ms
========================= ================ ========= ===================
mach_absolute_time
@@ -1158,7 +1158,8 @@
CLOCK_REALTIME FreeBSD 8.2 11 ns 7 µs
CLOCK_REALTIME OpenBSD 5.0 10 ms 10 µs
CLOCK_REALTIME_COARSE Linux 3.3 1 ms 1 ms
-GetSystemTimeAsFileTime Windows Seven 16 ms 1 ms
+GetSystemTimeAsFileTime() Windows Seven 16 ms 1 ms
+ftime() Windows Seven \- 1 ms
========================= ================ ========= ===================
@@ -1216,10 +1217,11 @@
========================= ================ ========= ===================
CLOCK_PROF FreeBSD 8.2 10 ms 1 µs
getrusage(RUSAGE_SELF) FreeBSD 8.2 \- 1 µs
+getrusage(RUSAGE_SELF) SunOS 5.11 \- 1 µs
CLOCK_PROCESS_CPUTIME_ID Linux 3.2 1 ns 3 µs
-getrusage(RUSAGE_SELF) SunOS 5.11 \- 1 µs
getrusage(RUSAGE_SELF) Mac OS 10.6 \- 5 µs
clock() Mac OS 10.6 1 µs 5 µs
+CLOCK_PROF OpenBSD 5.0 \- 7 µs
getrusage(RUSAGE_SELF) Linux 3.3 \- 1 ms
getrusage(RUSAGE_SELF) OpenBSD 5.0 \- 8 ms
clock() FreeBSD 8.2 8 ms 8 ms
@@ -1228,8 +1230,9 @@
clock() OpenBSD 5.0 10 ms 10 ms
times() OpenBSD 5.0 10 ms 10 ms
times() Mac OS 10.6 10 ms 10 ms
+clock() SunOS 5.11 1 µs 10 ms
GetProcessTimes() Windows Seven 16 ms 16 ms
-clock() SunOS 5.11 1 µs 10 ms
+clock() Windows Seven 1 ms 1 ms
========================= ================ ========= ===================
Functions
@@ -1243,8 +1246,8 @@
* clock(). The precision is 1 / CLOCKS_PER_SEC.
* Windows: The elapsed wall-clock time since the start of the
- process (elapsed time in seconds times CLOCKS_PER_SEC). It can
- fail.
+ process (elapsed time in seconds times CLOCKS_PER_SEC). Include
+ time elapsed during sleep. It can fail.
* UNIX: returns an approximation of processor time used by the
program.
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list