[Python-Dev] Use QueryPerformanceCounter() for time.monotonic() and/or time.highres()?
Glyph
glyph at twistedmatrix.com
Sat Mar 31 04:25:49 CEST 2012
On Mar 30, 2012, at 10:17 PM, Victor Stinner wrote:
>> (...)
>> By contrast, stepping only happens if your local clock is just set
>> incorrectly and the re-sync delta has more to do with administrative error
>> or failed batteries than differences in timekeeping accuracy.
>
> Are you talking about CLOCK_REALTIME or CLOCK_MONOTONIC?
My understanding is:
CLOCK_REALTIME is both stepped and slewed.
CLOCK_MONOTONIC is slewed, but not stepped.
CLOCK_MONOTONIC_RAW is neither slewed nor stepped.
-glyph
More information about the Python-Dev
mailing list