Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Yes, it is time.process_time(). This was the cause of adding two new functions 
time.perf_counter() and time.process_time() and deprecating (in the 
documentation only) time.clock(). On Windows time.clock() does include time 
elapsed during sleep, on non-Windows it doesn't. time.clock() should be 
replaced with the one of these functions, depending on the purpose of its use. 
Only the user knows for what purposes it uses time.clock() and what is the 
correct replacement.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31803>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to