bpo-40192: Use thread_cputime for time.thread_time to improve resolution#19381
bpo-40192: Use thread_cputime for time.thread_time to improve resolution#19381vstinner merged 4 commits intopython:masterfrom
Conversation
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Co-authored-by: Victor Stinner <[email protected]>
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @vstinner: please review the changes made to this pull request. |
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @vstinner: please review the changes made to this pull request. |
|
Merged, thanks @isidentical! |
|
Thank you for the review @vstinner! |
…ion (pythonGH-19381) On AIX, time.thread_time() is now implemented with thread_cputime() which has nanosecond resolution, rather than clock_gettime(CLOCK_THREAD_CPUTIME_ID) which has a resolution of 10 ms.
https://bugs.python.org/issue40192