Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Docu time.rst - GetSystemTimePreciseAsFileTime() and monotonic() clock #126745

Open
dbstf opened this issue Nov 12, 2024 · 0 comments
Open

Fix Docu time.rst - GetSystemTimePreciseAsFileTime() and monotonic() clock #126745

dbstf opened this issue Nov 12, 2024 · 0 comments
Labels
3.13 bugs and security fixes 3.14 new features, bugs and security fixes docs Documentation in the Doc dir

Comments

@dbstf
Copy link

dbstf commented Nov 12, 2024

Documentation

Fix Typo: On Windows, the .time function now uses GetSystemTimePreciseAsFileTime() [--> 1 microsecond resolution] instead of GetSystemTimeAsFileTime() [--> 15.625 millisecond resolution].

Clarification: On Windows The .monotonic functions now use the same clock as the .perf_counter functions, not vice versa.
The .perf_counter functions previously already used QueryPerformanceCounter() + QueryPerformanceFrequency() [--> 1 microsecond resolution], whereas the .monotonic functions previously used GetTickCount64() [--> 15.625 millisecond resolution].

Linked PRs

@dbstf dbstf added the docs Documentation in the Doc dir label Nov 12, 2024
@picnixz picnixz added 3.13 bugs and security fixes 3.14 new features, bugs and security fixes labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes 3.14 new features, bugs and security fixes docs Documentation in the Doc dir
Projects
Status: Todo
Development

No branches or pull requests

2 participants