commit | 45410862321ae509e8753f239b0ea28fdcef5bad | [log] [tgz] |
---|---|---|
author | Batuhan Taskaya <isidentical@gmail.com> | Sat May 16 12:39:09 2020 +0300 |
committer | GitHub <noreply@github.com> | Sat May 16 11:39:09 2020 +0200 |
tree | 030a36663d2dc03cf7ce87b528ab316f948ec4e1 | |
parent | 62972d9d73e83d6eea157617cc69500ffec9e3f0 [diff] |
bpo-40192: Use thread_cputime for time.thread_time to improve resolution (GH-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.