Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Issue 2174003002: AIX: Fix to get more accurate Thread's CPU time (Closed)

Created:
4 years, 5 months ago by JaideepBajwa
Modified:
4 years, 5 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

AIX: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M src/base/platform/time.cc View 1 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
JaideepBajwa
PTAL
4 years, 5 months ago (2016-07-22 20:46:37 UTC) #1
john.yan
lgtm
4 years, 5 months ago (2016-07-22 20:47:52 UTC) #2
lpy
https://codereview.chromium.org/2174003002/diff/1/src/base/platform/time.cc File src/base/platform/time.cc (right): https://codereview.chromium.org/2174003002/diff/1/src/base/platform/time.cc#newcode70 src/base/platform/time.cc:70: struct timespec ts; hmmmm, what happen when clk_id is ...
4 years, 5 months ago (2016-07-22 22:47:30 UTC) #3
JaideepBajwa
On 2016/07/22 22:47:30, lpy wrote: > https://codereview.chromium.org/2174003002/diff/1/src/base/platform/time.cc > File src/base/platform/time.cc (right): > > https://codereview.chromium.org/2174003002/diff/1/src/base/platform/time.cc#newcode70 > ...
4 years, 5 months ago (2016-07-22 23:14:15 UTC) #4
lpy
On 2016/07/22 23:14:15, JaideepBajwa wrote: > On 2016/07/22 22:47:30, lpy wrote: > > https://codereview.chromium.org/2174003002/diff/1/src/base/platform/time.cc > ...
4 years, 5 months ago (2016-07-22 23:20:58 UTC) #5
jochen (gone - plz use gerrit)
lgtm
4 years, 5 months ago (2016-07-25 16:18:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2174003002/20001
4 years, 5 months ago (2016-07-25 16:24:28 UTC) #9
JaideepBajwa
On 2016/07/25 16:18:44, jochen wrote: > lgtm Thanks.
4 years, 5 months ago (2016-07-25 16:24:53 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-25 16:45:01 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 16:46:39 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3361b7fd44f06dc1dc0569a326fb0ba3e0b41588
Cr-Commit-Position: refs/heads/master@{#38029}

Powered by Google App Engine
This is Rietveld 408576698