diff options
author | Victor Stinner <vstinner@python.org> | 2021-10-01 11:29:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 11:29:00 (GMT) |
commit | 54957f16a63ecb6b15f77b01fa7c55ada892604a (patch) | |
tree | 880e2951cfc3bdabb4566171553751a467df8c4e /Python/frozen_modules | |
parent | 98d282700221234157159df4af76423d89490ad9 (diff) | |
download | cpython-54957f16a63ecb6b15f77b01fa7c55ada892604a.zip cpython-54957f16a63ecb6b15f77b01fa7c55ada892604a.tar.gz cpython-54957f16a63ecb6b15f77b01fa7c55ada892604a.tar.bz2 |
bpo-41710: gc_collect_main() uses _PyTime_GetPerfCounter() (GH-28676)
If the DEBUG_STATS debug flag is set, gc_collect_main() now uses
_PyTime_GetPerfCounter() instead of _PyTime_GetMonotonicClock() to
measure the elapsed time.
On Windows, _PyTime_GetMonotonicClock() only has a resolution of 15.6
ms, whereas _PyTime_GetPerfCounter() is closer to a resolution of 100
ns.
Diffstat (limited to 'Python/frozen_modules')
0 files changed, 0 insertions, 0 deletions