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 neologix
Recipients Arfrever, lemburg, neologix, pitrou, python-dev, vstinner
Date 2012-06-05.07:01:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAH_1eM1=9gc7+5hfVXbwgpvDp-x4MGnCtSFWsbztejZDk2dNiA@mail.gmail.com>
In-reply-to <1338851391.47.0.878766695172.issue14428@psf.upfronthosting.co.za>
Content
> I'm closing again this issue.
>
> @neologix: Please open a new issue if you disagree with me on the definition of "seconds" for time.process_time().

I won't reopen, but I still disagree with your definition.
process_time() returns second, as does the Unix 'time' command return:

"""
$ time sleep 1

real    0m1.014s
user    0m0.000s
sys     0m0.000s
"""

AFAICT, process_time() returns user + sys. Since the unit of those two
fields are second, the value returned is in second. I doesn't include
time spent in 'S'/'D'/whatever time, but it's still seconds.
History
Date User Action Args
2012-06-05 07:01:33neologixsetrecipients: + neologix, lemburg, pitrou, vstinner, Arfrever, python-dev
2012-06-05 07:01:33neologixlinkissue14428 messages
2012-06-05 07:01:32neologixcreate