[Python-Dev] PEP 418: Add monotonic clock

Victor Stinner victor.stinner at gmail.com
Tue Mar 27 19:59:12 CEST 2012


> That's simple clear and explicit: try_monotic() tries to use the
> monotic clock if it can, but falls back to time.time() rather than
> failing entirely if no monotonic clock is available.

I renamed time.steady() to time.try_monotonic() in the PEP. It's a
temporary name until we decide what to do with this function.
I also changed it to fallback to time.hires() if time.monotonic() is
not available or failed.
Victor


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /