PEP 418: Replace "Precision in Python" with "Python Resolution"

This commit is contained in:
Victor Stinner 2012-04-24 00:14:51 +02:00
parent 3c3c2f09d4
commit 464a098160
1 changed files with 49 additions and 49 deletions

View File

@ -930,9 +930,9 @@ timeGetTime() 1 ms No Yes ?
Examples of clock precision on x86_64:
========================= ================ ========= ===================
Name Operating system Precision Precision in Python
========================= ================ ========= ===================
========================= ================ ========= =================
Name Operating system Precision Python Resolution
========================= ================ ========= =================
QueryPerformanceCounter Windows Seven 10 ns 10 ns
CLOCK_HIGHRES SunOS 5.11 2 ns 265 ns
CLOCK_MONOTONIC Linux 3.0 1 ns 322 ns
@ -945,11 +945,11 @@ CLOCK_UPTIME FreeBSD 8.2 11 ns 6 µs
CLOCK_MONOTONIC_COARSE Linux 3.3 1 ms 1 ms
CLOCK_MONOTONIC_COARSE Linux 3.0 4 ms 4 ms
GetTickCount64() Windows Seven 16 ms 15 ms
========================= ================ ========= ===================
========================= ================ ========= =================
The "Precision in Python" column was filled using the
`clock_precision.py
<http://hg.python.org/peps/file/tip/pep-0418/clock_precision.py>`_
The "Python Resolution" column was filled using the
`clock_resolution.py
<http://hg.python.org/peps/file/tip/pep-0418/clock_resolution.py>`_
program.
mach_absolute_time
@ -1185,9 +1185,9 @@ time() 1 sec Yes Yes
Examples of clock precision on x86_64:
========================= ================ ========= ===================
Name Operating system Precision Precision in Python
========================= ================ ========= ===================
========================= ================ ========= =================
Name Operating system Precision Python Resolution
========================= ================ ========= =================
CLOCK_REALTIME SunOS 5.11 10 ms 238 ns
CLOCK_REALTIME Linux 3.0 1 ns 238 ns
gettimeofday() Mac OS 10.6 1 µs 4 µs
@ -1197,11 +1197,11 @@ CLOCK_REALTIME_COARSE Linux 3.3 1 ms 1 ms
CLOCK_REALTIME_COARSE Linux 3.0 4 ms 4 ms
GetSystemTimeAsFileTime() Windows Seven 16 ms 1 ms
ftime() Windows Seven \- 1 ms
========================= ================ ========= ===================
========================= ================ ========= =================
The "Precision in Python" column was filled using the
`clock_precision.py
<http://hg.python.org/peps/file/tip/pep-0418/clock_precision.py>`_
The "Python Resolution" column was filled using the
`clock_resolution.py
<http://hg.python.org/peps/file/tip/pep-0418/clock_resolution.py>`_
program.
@ -1255,7 +1255,7 @@ clock() \- Yes on Windows, No otherwise No
Examples of clock precision on x86_64:
========================= ================ ========= ===================
Name Operating system Precision Precision in Python
Name Operating system Precision Python Resolution
========================= ================ ========= ===================
CLOCK_PROCESS_CPUTIME_ID Linux 3.3 1 ns 1 ns
CLOCK_PROF FreeBSD 8.2 10 ms 1 µs
@ -1279,9 +1279,9 @@ GetProcessTimes() Windows Seven 16 ms 16 ms
clock() Windows Seven 1 ms 1 ms
========================= ================ ========= ===================
The "Precision in Python" column was filled using the
`clock_precision.py
<http://hg.python.org/peps/file/tip/pep-0418/clock_precision.py>`_
The "Python Resolution" column was filled using the
`clock_resolution.py
<http://hg.python.org/peps/file/tip/pep-0418/clock_resolution.py>`_
program.
Functions
@ -1330,17 +1330,17 @@ GetThreadTimes() 100 ns No ?
Examples of clock precision on x86_64:
========================= ================ =============== ===================
Name Operating system Precision Precision in Python
========================= ================ =============== ===================
========================= ================ =============== =================
Name Operating system Precision Python Resolution
========================= ================ =============== =================
CLOCK_THREAD_CPUTIME_ID FreeBSD 8.2 1 µs 1 µs
CLOCK_THREAD_CPUTIME_ID Linux 3.3 1 ns 649 ns
GetThreadTimes() Windows Seven 16 ms 16 ms
========================= ================ =============== ===================
========================= ================ =============== =================
The "Precision in Python" column was filled using the
`clock_precision.py
<http://hg.python.org/peps/file/tip/pep-0418/clock_precision.py>`_
The "Python Resolution" column was filled using the
`clock_resolution.py
<http://hg.python.org/peps/file/tip/pep-0418/clock_resolution.py>`_
program.