8000 Fix Docu time.rst - GetSystemTimePreciseAsFileTime() and monotonic() clock · Issue #126745 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Fix Docu time.rst - GetSystemTimePreciseAsFileTime() and monotonic() clock #126745
Closed as duplicate of#63207
@dbstf

Description

@dbstf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Done

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0