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

2012年4月28日 00:42:22 -0700

> 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:
http://docs.python.org/dev/library/time.html#time.clock_gettime
It's just a binding of the C function clock_gettime(). Should the PEP
describe all functions used by the PEP?
Victor
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to