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

Issue 1977983003: [base] Implement CPU time on Windows. (Closed)

Created:
4 years, 7 months ago by lpy
Modified:
4 years, 6 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

[base] Implement CPU time on Windows. We already implemented CPU time for OS X and POSIX, this path is a follow up for the implementation on Windows. BUG=v8:5000 LOG=n Committed: https://crrev.com/ee43805a66440d78d20310a9f822dffe87237855 Cr-Commit-Position: refs/heads/master@{#36656}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address fadi's comment #

Total comments: 6

Patch Set 3 : Address fadi's comment #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : Add comments #

Total comments: 6

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -18 lines) Patch
M src/base/cpu.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/base/cpu.cc View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M src/base/platform/time.h View 2 chunks +30 lines, -2 lines 0 comments Download
M src/base/platform/time.cc View 1 2 3 4 5 chunks +119 lines, -11 lines 0 comments Download
M src/base/win32-headers.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M test/unittests/base/platform/time-unittest.cc View 3 chunks +48 lines, -1 line 0 comments Download

Messages

Total messages: 28 (6 generated)
lpy
PTAL.
4 years, 7 months ago (2016-05-14 00:52:57 UTC) #2
lpy
Note that, with this patch landed, I think we will drop the support of Windows ...
4 years, 7 months ago (2016-05-14 00:54:25 UTC) #3
fmeawad
https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc File src/base/platform/time.cc (right): https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc#newcode77 src/base/platform/time.cc:77: uint64_t QPCNowRaw() { If I am reading the correctly, ...
4 years, 7 months ago (2016-05-14 01:04:07 UTC) #4
noordhuis
https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc File src/base/platform/time.cc (right): https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc#newcode73 src/base/platform/time.cc:73: return strcmp(cpu.vendor(), "AuthenticAMD") == 0 && cpu.family() == 15; ...
4 years, 7 months ago (2016-05-15 09:06:46 UTC) #5
lpy
On 2016/05/15 09:06:46, noordhuis wrote: > https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc > File src/base/platform/time.cc (right): > > https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc#newcode73 > ...
4 years, 7 months ago (2016-05-15 09:16:17 UTC) #6
noordhuis
On 2016/05/15 09:16:17, lpy wrote: > When you said X2's, do you mean AMD Athlon ...
4 years, 7 months ago (2016-05-15 21:00:06 UTC) #7
lpy
https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc File src/base/platform/time.cc (right): https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc#newcode73 src/base/platform/time.cc:73: return strcmp(cpu.vendor(), "AuthenticAMD") == 0 && cpu.family() == 15; ...
4 years, 7 months ago (2016-05-24 22:21:46 UTC) #8
lpy
> https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc#newcode77 > src/base/platform/time.cc:77: uint64_t QPCNowRaw() { > On 2016/05/14 01:04:07, fmeawad wrote: > > ...
4 years, 7 months ago (2016-05-24 22:23:36 UTC) #9
lpy
On 2016/05/24 22:21:46, lpy wrote: > https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc > File src/base/platform/time.cc (right): > > https://codereview.chromium.org/1977983003/diff/1/src/base/platform/time.cc#newcode73 > ...
4 years, 7 months ago (2016-05-24 22:43:41 UTC) #10
lpy
I made a few changes, PTAL.
4 years, 7 months ago (2016-05-24 22:51:47 UTC) #11
fmeawad
https://codereview.chromium.org/1977983003/diff/20001/src/base/platform/time.cc File src/base/platform/time.cc (right): https://codereview.chromium.org/1977983003/diff/20001/src/base/platform/time.cc#newcode71 src/base/platform/time.cc:71: inline bool IsBuggyAthlon(const v8::base::CPU& cpu) { nit:Rename to IsQPCReliable ...
4 years, 7 months ago (2016-05-24 22:56:59 UTC) #12
lpy
I addressed the comments, PTAL. https://codereview.chromium.org/1977983003/diff/20001/src/base/platform/time.cc File src/base/platform/time.cc (right): https://codereview.chromium.org/1977983003/diff/20001/src/base/platform/time.cc#newcode71 src/base/platform/time.cc:71: inline bool IsBuggyAthlon(const v8::base::CPU& ...
4 years, 7 months ago (2016-05-24 23:29:16 UTC) #13
fmeawad
lgtm https://codereview.chromium.org/1977983003/diff/80001/src/base/cpu.cc File src/base/cpu.cc (right): https://codereview.chromium.org/1977983003/diff/80001/src/base/cpu.cc#newcode422 src/base/cpu.cc:422: nit: Add a small comment to explain what ...
4 years, 7 months ago (2016-05-25 23:40:32 UTC) #14
lpy
bmeurer@, PTAL. https://codereview.chromium.org/1977983003/diff/80001/src/base/cpu.cc File src/base/cpu.cc (right): https://codereview.chromium.org/1977983003/diff/80001/src/base/cpu.cc#newcode422 src/base/cpu.cc:422: On 2016/05/25 23:40:31, fmeawad wrote: > nit: ...
4 years, 7 months ago (2016-05-26 16:25:22 UTC) #15
fmeawad
https://codereview.chromium.org/1977983003/diff/100001/src/base/cpu.cc File src/base/cpu.cc (right): https://codereview.chromium.org/1977983003/diff/100001/src/base/cpu.cc#newcode423 src/base/cpu.cc:423: // Check if CPU has non stoppable Time Stamp ...
4 years, 7 months ago (2016-05-26 16:40:34 UTC) #16
lpy
ptal. https://codereview.chromium.org/1977983003/diff/100001/src/base/cpu.cc File src/base/cpu.cc (right): https://codereview.chromium.org/1977983003/diff/100001/src/base/cpu.cc#newcode423 src/base/cpu.cc:423: // Check if CPU has non stoppable Time ...
4 years, 7 months ago (2016-05-26 20:50:55 UTC) #17
fmeawad
lgtm
4 years, 6 months ago (2016-05-27 18:08:24 UTC) #18
Benedikt Meurer
LGTM (rubber-stamped)
4 years, 6 months ago (2016-05-28 17:52:40 UTC) #21
jochen (gone - plz use gerrit)
lgtm
4 years, 6 months ago (2016-06-01 15:04:47 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1977983003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1977983003/120001
4 years, 6 months ago (2016-06-01 18:23:44 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 6 months ago (2016-06-01 18:52:52 UTC) #26
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 18:56:04 UTC) #28
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ee43805a66440d78d20310a9f822dffe87237855
Cr-Commit-Position: refs/heads/master@{#36656}

Powered by Google App Engine
This is Rietveld 408576698