[issue40192] time.thread_time isn't outputting in nanoseconds in AIX
Batuhan Taskaya
report at bugs.python.org
Fri May 15 10:02:26 EDT 2020
Batuhan Taskaya <isidentical at gmail.com> added the comment:
current:
>>> import time
>>> import time
>>> time.get_clock_info('thread_time')
namespace(adjustable=False, implementation='clock_gettime(CLOCK_THREAD_CPUTIME_ID)', monotonic=True, resolution=0.01)
>>> time.thread_time()
0.07
PR 19381:
>>> import time
>>> time.get_clock_info('thread_time')
namespace(adjustable=False, implementation='thread_cputime()', monotonic=True, resolution=1e-09)
>>> time.thread_time()
0.002379953
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40192>
_______________________________________
More information about the Python-bugs-list
mailing list