STINNER Victor added the comment:

What is your platform?

time.process_time() supports many functions:

 - GetProcessTimes() (Windows only)
 - clock_gettime(CLOCK_PROF)
 - clock_gettime(CLOCK_PROCESS_CPUTIME_ID)
 - getrusage(RUSAGE_SELF)
 - times()
 - clock()

On POSIX, clock() is always tried as a fallback. Does your platform support at 
least one of these functions?

----------

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

Reply via email to