DescriptionAIX: Fix to get more accurate Thread's CPU time
On AIX clock_gettime provides CPU time with a resolution of
10ms, which causes the ThreadTicks testcase to fail since at
the 2 instances the CPU time of the thread outputs to 0.
Using AIX's API thread_cputime instead which provides CPU
time with a resolution of 1ns.
The testcase was added as part of https://codereview.chromium.org/1976603005
R=jochen@chromium.org, lpy@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
BUG=
LOG=N
Committed: https://crrev.com/3361b7fd44f06dc1dc0569a326fb0ba3e0b41588
Cr-Commit-Position: refs/heads/master@{#38029}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fixed incorrect indentation #Messages
Total messages: 13 (3 generated)
|