➜

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.

作者 vstinner
收信人 benjamin.peterson, gregory.p.smith, koobs, mcjeff, r.david.murray, vstinner
日期 2015-04-24.22:31:57
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1429914717.28.0.691284570173.issue23863@psf.upfronthosting.co.za>
In-reply-to
内容
> diverging discussion: Go re-read the documentation on os.times().

We don't have the same definition of the unit "seconds" :-)

>>> print(os.times()); time.sleep(1); print(os.times())
(0.04, 0.01, 0.0, 0.0, 4731691.68)
(0.04, 0.01, 0.0, 0.0, 4731692.68)

My watch doesn't stop when I'm sleeping.

See https://docs.python.org/dev/library/time.html#time.process_time

See also "CPU Time" in https://www.python.org/dev/peps/pep-0418/#glossary
历史
日期 用户 动作 参数
2015-04-24 22:31:57vstinner修改recipients: + vstinner, gregory.p.smith, benjamin.peterson, r.david.murray, mcjeff, koobs
2015-04-24 22:31:57vstinner修改messageid: <1429914717.28.0.691284570173.issue23863@psf.upfronthosting.co.za>
2015-04-24 22:31:57vstinner链接issue23863 messages
2015-04-24 22:31:57vstinner创建