SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

bpo-37205: time.perf_counter() and time.monotonic() are system-wide (GH-23284)

time.perf_counter() on Windows and time.monotonic() on macOS are now
system-wide. Previously, they used an offset computed at startup to
reduce the precision loss caused by the float type. Use
time.perf_counter_ns() and time.monotonic_ns() added in Python 3.7 to
avoid this precision loss.
V
Victor Stinner committed
3df5c68487df9d1d20ab0cd06e7942a4f96d40a4
Parent: aa01011
Committed by GitHub <noreply@github.com> on 11/16/2020, 12:21:45 PM