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 fdrake, pfalcon, vstinner, yselivanov
Date 2014-02-02.22:31:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> That's why I just propose to switch it to time.time(), which surely is available on each and every Python version and implementation.

It's not the same clock. time.clock() measures the process time, which is different from the wall clock time.

Compare time.get_clock_info('clock') to time.get_clock_info('time') and time.get_clock_info('perf_counter').

See also the PEP 418 which lists all these clocks and explain why time.clock() was deprecated:
Date User Action Args
2014-02-02 22:31:31vstinnersetrecipients: + vstinner, fdrake, pfalcon, yselivanov
2014-02-02 22:31:31vstinnersetmessageid: <>
2014-02-02 22:31:31vstinnerlinkissue20475 messages
2014-02-02 22:31:31vstinnercreate