Message350588
I think I have found the root cause - there appears to be a typo in the rusage implementation - instead of computing the total time as utime+stime, the code performs utime+utime, which explains the doubling observed. I have create a PR with the fix.
My Mac runs Mojave with Clang 10.0.1, so I haven't actually been able to test the rusage path yet to make absolutely sure that the patch does the right thing. |
|
Date |
User |
Action |
Args |
2019-08-27 03:27:33 | rvijayak | set | recipients:
+ rvijayak, rhettinger, ronaldoussoren, vstinner, ned.deily, lukasz.langa, Nitapol |
2019-08-27 03:27:33 | rvijayak | set | messageid: <1566876453.19.0.959209707045.issue36205@roundup.psfhosted.org> |
2019-08-27 03:27:33 | rvijayak | link | issue36205 messages |
2019-08-27 03:27:32 | rvijayak | create | |
|