New submission from STINNER Victor <victor.stin...@haypocalc.com>: After time.wallclock() (issue #10278), let add a time.monotomic() function. It is similar to time.wallclock() (try to get the most accurate clock) but is not available if the system doesn't provide a monotonic clock. It may also fail at runtime if Python cannot find a monotonic clock, whereas time.clock() and time.wallclock() fallback on a wallclock which may go backward on NTP adjust.
The documentation of the patch should be improved :-) wallclock() tests may be simplified or dropped because they may fail on NTP adjust. ---------- files: monotonic.patch keywords: patch messages: 151868 nosy: belopolsky, haypo priority: normal severity: normal status: open title: Add time.monotonic() function versions: Python 3.3 Added file: http://bugs.python.org/file24307/monotonic.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13846> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com