PEP 418: Remove the unverified info about mach_timebase_info()

This commit is contained in:
Victor Stinner 2012-04-28 03:21:26 +02:00
parent 04fc727e6f
commit 9c952d97bf
1 changed files with 3 additions and 5 deletions

View File

@ -968,11 +968,9 @@ Mac OS X provides a monotonic clock: mach_absolute_time(). It is
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