This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 serhiy.storchaka
收信人 belopolsky, benhoyt, benjamin.peterson, ethan.furman, fdrake, lemburg, mrabarnett, serhiy.storchaka, vstinner
日期 2017-10-22.13:14:36
SpamBayes Score -1.0
Marked as misclassified
Message-id <1508678076.34.0.213398074469.issue31803@psf.upfronthosting.co.za>
In-reply-to
内容
On non-Windows platforms clock() returns the processor time, perf_counter() does include time elapsed during sleep.

>>> import time
>>> start = time.clock(); time.sleep(1); print(time.clock() - start)
9.700000000001374e-05
>>> start = time.perf_counter(); time.sleep(1); print(time.perf_counter() - start)
1.000714950998372
历史
日期 用户 动作 参数
2017-10-22 13:14:36serhiy.storchaka修改recipients: + serhiy.storchaka, lemburg, fdrake, belopolsky, vstinner, benjamin.peterson, mrabarnett, benhoyt, ethan.furman
2017-10-22 13:14:36serhiy.storchaka修改messageid: <1508678076.34.0.213398074469.issue31803@psf.upfronthosting.co.za>
2017-10-22 13:14:36serhiy.storchaka链接issue31803 messages
2017-10-22 13:14:36serhiy.storchaka创建