mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-63207: Use GetSystemTimePreciseAsFileTime() in time.time() (#116822)
This commit is contained in:
parent
c80d2d3263
commit
1d95451be1
3 changed files with 33 additions and 17 deletions
|
|
@ -570,6 +570,12 @@ time
|
|||
instead of the ``GetTickCount64()`` clock which has a resolution of 15.6 ms.
|
||||
(Contributed by Victor Stinner in :gh:`88494`.)
|
||||
|
||||
* On Windows, :func:`time.time()` now uses the
|
||||
``GetSystemTimePreciseAsFileTime()`` clock to have a resolution better
|
||||
than 1 us, instead of the ``GetSystemTimeAsFileTime()`` clock which has a
|
||||
resolution of 15.6 ms.
|
||||
(Contributed by Victor Stinner in :gh:`63207`.)
|
||||
|
||||
|
||||
tkinter
|
||||
-------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue