PEP 418: complete/update tables for OpenBSD and Windows
This commit is contained in:
parent
83d406250f
commit
d506f12dc1
15
pep-0418.txt
15
pep-0418.txt
|
@ -913,7 +913,7 @@ CLOCK_MONOTONIC OpenBSD 5.0 10 ms 7 µs
|
|||
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 @@ gettimeofday() Mac OS 10.6 1 µs 4 µs
|
|||
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 @@ Name Operating system Precision Precision in Python
|
|||
========================= ================ ========= ===================
|
||||
CLOCK_PROF FreeBSD 8.2 10 ms 1 µs
|
||||
getrusage(RUSAGE_SELF) FreeBSD 8.2 \- 1 µs
|
||||
CLOCK_PROCESS_CPUTIME_ID Linux 3.2 1 ns 3 µs
|
||||
getrusage(RUSAGE_SELF) SunOS 5.11 \- 1 µs
|
||||
CLOCK_PROCESS_CPUTIME_ID Linux 3.2 1 ns 3 µ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 @@ times() Linux 3.0 10 ms 10 ms
|
|||
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
|
||||
GetProcessTimes() Windows Seven 16 ms 16 ms
|
||||
clock() SunOS 5.11 1 µs 10 ms
|
||||
GetProcessTimes() Windows Seven 16 ms 16 ms
|
||||
clock() Windows Seven 1 ms 1 ms
|
||||
========================= ================ ========= ===================
|
||||
|
||||
Functions
|
||||
|
@ -1243,8 +1246,8 @@ Functions
|
|||
* 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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue