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.

Author vstinner
Recipients benjamin.peterson, gregory.p.smith, koobs, mcjeff, r.david.murray, vstinner
Date 2015-04-24.22:31:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429914717.28.0.691284570173.issue23863@psf.upfronthosting.co.za>
In-reply-to
Content
> 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
History
Date User Action Args
2015-04-24 22:31:57vstinnersetrecipients: + vstinner, gregory.p.smith, benjamin.peterson, r.david.murray, mcjeff, koobs
2015-04-24 22:31:57vstinnersetmessageid: <1429914717.28.0.691284570173.issue23863@psf.upfronthosting.co.za>
2015-04-24 22:31:57vstinnerlinkissue23863 messages
2015-04-24 22:31:57vstinnercreate