Message 304749 - Python tracker (original) (raw)

Message304749

Author serhiy.storchaka
Recipients belopolsky, benhoyt, benjamin.peterson, ethan.furman, fdrake, lemburg, mrabarnett, serhiy.storchaka, vstinner
Date 2017-10-22.13:38:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id 1508679495.93.0.213398074469.issue31803@psf.upfronthosting.co.za
In-reply-to
Content
Yes, it is time.process_time(). This was the cause of adding two new functions time.perf_counter() and time.process_time() and deprecating (in the documentation only) time.clock(). On Windows time.clock() does include time elapsed during sleep, on non-Windows it doesn't. time.clock() should be replaced with the one of these functions, depending on the purpose of its use. Only the user knows for what purposes it uses time.clock() and what is the correct replacement.
History
Date User Action Args
2017-10-22 13:38:15 serhiy.storchaka set recipients: + serhiy.storchaka, lemburg, fdrake, belopolsky, vstinner, benjamin.peterson, mrabarnett, benhoyt, ethan.furman
2017-10-22 13:38:15 serhiy.storchaka set messageid: 1508679495.93.0.213398074469.issue31803@psf.upfronthosting.co.za
2017-10-22 13:38:15 serhiy.storchaka link issue31803 messages
2017-10-22 13:38:15 serhiy.storchaka create