[Python-checkins] peps: PEP 418: Replace "Precision in Python" with "Python Resolution"

victor.stinner python-checkins at python.org
Tue Apr 24 00:30:29 CEST 2012


http://hg.python.org/peps/rev/f8dd1187c2c6
changeset:   4297:f8dd1187c2c6
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Apr 24 00:14:51 2012 +0200
summary:
  PEP 418: Replace "Precision in Python" with "Python Resolution"

files:
  pep-0418.txt |  98 ++++++++++++++++++++--------------------
  1 files changed, 49 insertions(+), 49 deletions(-)


diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -930,26 +930,26 @@
 
 Examples of clock precision on x86_64:
 
-=========================  ================  =========  ===================
-Name                       Operating system  Precision  Precision in Python
-=========================  ================  =========  ===================
-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
-CLOCK_MONOTONIC_RAW        Linux 3.3              1 ns               628 ns
-CLOCK_BOOTTIME             Linux 3.3              1 ns               628 ns
-mach_absolute_time()       Mac OS 10.6            1 ns                 3 µs
-CLOCK_MONOTONIC            FreeBSD 8.2           11 ns                 5 µs
-CLOCK_MONOTONIC            OpenBSD 5.0           10 ms                 5 µs
-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
-=========================  ================  =========  ===================
+=========================  ================  =========  =================
+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
+CLOCK_MONOTONIC_RAW        Linux 3.3              1 ns             628 ns
+CLOCK_BOOTTIME             Linux 3.3              1 ns             628 ns
+mach_absolute_time()       Mac OS 10.6            1 ns               3 µs
+CLOCK_MONOTONIC            FreeBSD 8.2           11 ns               5 µs
+CLOCK_MONOTONIC            OpenBSD 5.0           10 ms               5 µs
+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,23 +1185,23 @@
 
 Examples of clock precision on x86_64:
 
-=========================  ================  =========  ===================
-Name                       Operating system  Precision  Precision in Python
-=========================  ================  =========  ===================
-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
-CLOCK_REALTIME             FreeBSD 8.2           11 ns                 6 µs
-CLOCK_REALTIME             OpenBSD 5.0           10 ms                 5 µs
-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
-=========================  ================  =========  ===================
+=========================  ================  =========  =================
+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
+CLOCK_REALTIME             FreeBSD 8.2           11 ns               6 µs
+CLOCK_REALTIME             OpenBSD 5.0           10 ms               5 µs
+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 @@
 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 @@
 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 @@
 
 Examples of clock precision on x86_64:
 
-=========================  ================  ===============  ===================
-Name                       Operating system  Precision        Precision in Python
-=========================  ================  ===============  ===================
-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
-=========================  ================  ===============  ===================
+=========================  ================  ===============  =================
+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.
 
 

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list