New monotonic clock that tracks across system suspend
5 Aug
2020
5 Aug
'20
8:56 a.m.
Consider the monotonic clock defined in pytime.c. Whether or not it tracks time across system suspend is implementation-defined (and not documented either). PEP 418 [1] has details along with the raw system APIs used. We could introduce two new monotonic clocks that distinguish between whether they track across system suspend or not. These clocks exist on at least Windows, macOS, and Linux. [1] https://www.python.org/dev/peps/pep-0418/#id56 — Rishav P.S.: This is my first time submitting to the Python mailing lists. Suggestions for improvement are appreciated :)
1321
Age (days ago)
1322
Last active (days ago)
1 comments
2 participants
participants (2)
-
Rishav Kundu
-
Stephen J. Turnbull