[issue14104] Implement time.monotonic() on Mac OS X

Nicholas Riley report at bugs.python.org
Mon Mar 12 22:03:54 CET 2012


Nicholas Riley <com-python-bugs at sabi.net> added the comment:

Attached is a patch which implements time.monotonic() using mach_absolute_time() / mach_timebase_info().  This was recommended by Apple in their technical Q&A 1398:

https://developer.apple.com/library/mac/#qa/qa1398/

----------
keywords: +patch
nosy: +nriley
Added file: http://bugs.python.org/file24798/monotonic.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14104>
_______________________________________


More information about the Python-bugs-list mailing list