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

Guido van Rossum guido at python.org
Sat Apr 28 16:02:13 CEST 2012


On Sat, Apr 28, 2012 at 12:40 AM, Victor Stinner <victor.stinner at gmail.com> wrote:

Surely those are all very minor quibbles. I have one myself: at some point it says:

 On Linux, it is possible to use time.clockgettime(CLOCKTHREADCPUTIMEID). 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: http://docs.python.org/dev/library/time.html#time.clockgettime It's just a binding of the C function clockgettime(). Should the PEP describe all functions used by the PEP?

Oh, now I'm confused. Se in 3.3 we're adding a bunch of other new functions to the time module that aren't described by the PEP? Aren't those functions redundant? Or did I miss some part of the conversation where this was discussed? What's their history?

-- --Guido van Rossum (python.org/~guido)



More information about the Python-Dev mailing list