[Python-Dev] [RFC] PEP 418: Add monotonic time, performance counter and process time functions

Victor Stinner victor.stinner at gmail.com
Sat Apr 28 09:40:30 CEST 2012

> Surely those are all very minor quibbles. I have one myself: at some
> point it says:
>    On Linux, it is possible to use time.clock_gettime(CLOCK_THREAD_CPUTIME_ID).
> But the PEP doesn't define a function by that name. Is it an editing
> glitch? (Some of the pseudo code also uses this.)

It is this function:

It's just a binding of the C function clock_gettime(). Should the PEP
describe all functions used by the PEP?


More information about the Python-Dev mailing list