[Python-checkins] peps: PEP 418: Remove the unverified info about mach_timebase_info()
victor.stinner
python-checkins at python.org
Sat Apr 28 03:21:32 CEST 2012
http://hg.python.org/peps/rev/4f03cfa6fd54
changeset: 4317:4f03cfa6fd54
user: Victor Stinner <victor.stinner at gmail.com>
date: Sat Apr 28 03:21:26 2012 +0200
summary:
PEP 418: Remove the unverified info about mach_timebase_info()
files:
pep-0418.txt | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -968,11 +968,9 @@
based on absolute elapsed time since system boot. It is not
adjusted and cannot be set.
-mach_timebase_info() gives a fraction to convert the clock value to a
-number of nanoseconds. According to the documentation (`Technical Q&A
-QA1398 <https://developer.apple.com/library/mac/#qa/qa1398/>`_),
-mach_timebase_info() is always equal to one and never fails, even if
-the function may fail according to its prototype.
+mach_timebase_info() gives a fraction to convert the clock value to a number of
+nanoseconds. See also the `Technical Q&A QA1398
+<https://developer.apple.com/library/mac/#qa/qa1398/>`_.
mach_absolute_time() stops during a sleep on a PowerPC CPU, but not on
an Intel CPU: `Different behaviour of mach_absolute_time() on i386/ppc
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list