[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation
Daniel Hrisca
report at bugs.python.org
Sat Nov 14 00:40:42 EST 2020
Daniel Hrisca <daniel.hrisca at gmail.com> added the comment:
Under the hood perf_counter_ns already uses the two winapi calls (see https://github.com/python/cpython/blob/41761933c1c30bb6003b65eef1ba23a83db4eae4/Python/pytime.c#L970) just that it also sets up a static variable as a time origin which makes it process-wide instead of system-wide
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37205>
_______________________________________
More information about the Python-bugs-list
mailing list