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

Issue 12049058: Adds AVX detection to CPU and records a histogram of Intel uArch Support (Closed)

Created:
7 years, 11 months ago by whunt
Modified:
7 years, 10 months ago
Reviewers:
jamesr, nduca, whunt, apatrick_chromium, brettw
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org, jam
Visibility:
Public.

Description

Adds AVX detection to CPU and records a histogram of Intel Microarchitecture Support I added detection of AVX as well. I'm not really sure the best place to put the test. It's currently run at startup time. The patch stores and Enumerated Histogram for the supported micro-architecture. BUG=171824 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180223

Patch Set 1 #

Total comments: 1

Patch Set 2 : moving the check to chrome_browser_main.cc #

Total comments: 4

Patch Set 3 : addressed refactoring and renaming recommendataions #

Total comments: 6

Patch Set 4 : addressing feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -0 lines) Patch
M base/cpu.h View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M base/cpu.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 3 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
whunt
Can you guys add some people from base and/or wherever else is most appropriate to ...
7 years, 11 months ago (2013-01-23 23:47:44 UTC) #1
jamesr
Hey Al, is this a reasonable-ish place to collect this histogram?
7 years, 11 months ago (2013-01-24 01:10:25 UTC) #2
apatrick_chromium
I don't think this is the right place to do it because it will fail ...
7 years, 11 months ago (2013-01-24 01:36:26 UTC) #3
nduca
Seems useful to split up into the base/ edit and the histogram edit
7 years, 11 months ago (2013-01-24 01:38:49 UTC) #4
whunt_google.com
Is there a "main" routine or other entry point that I could drop it into? ...
7 years, 11 months ago (2013-01-24 01:44:56 UTC) #5
apatrick_chromium
How about chrome_browser_main.cc?
7 years, 11 months ago (2013-01-24 02:07:53 UTC) #6
whunt
On 2013/01/24 02:07:53, apatrick_chromium wrote: > How about chrome_browser_main.cc? Does this seem good to everyone?
7 years, 11 months ago (2013-01-25 18:40:38 UTC) #7
apatrick_chromium
https://codereview.chromium.org/12049058/diff/1/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/12049058/diff/1/content/browser/gpu/gpu_process_host.cc#newcode278 content/browser/gpu/gpu_process_host.cc:278: arch = 1; nit: use an enum and comment ...
7 years, 11 months ago (2013-01-25 19:06:30 UTC) #8
whunt
https://codereview.chromium.org/12049058/diff/7001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/12049058/diff/7001/chrome/browser/chrome_browser_main.cc#newcode985 chrome/browser/chrome_browser_main.cc:985: UMA_HISTOGRAM_ENUMERATION("Platform.IntelMaxuArchSupport", arch, 8); On 2013/01/25 19:06:30, apatrick_chromium wrote: > ...
7 years, 10 months ago (2013-01-30 23:53:11 UTC) #9
nduca
microarchitecture
7 years, 10 months ago (2013-01-31 02:00:51 UTC) #10
nduca
erm, can we just use the word microarchitecture instead of using abbreviations? We run on ...
7 years, 10 months ago (2013-01-31 02:01:12 UTC) #11
whunt_google.com
Yeah, I changed it. On Wed, Jan 30, 2013 at 6:01 PM, <nduca@chromium.org> wrote: > ...
7 years, 10 months ago (2013-01-31 18:44:00 UTC) #12
apatrick_chromium
LGTM with some style nits. +brettw for chrome/ and base/ owners. https://codereview.chromium.org/12049058/diff/13001/base/cpu.h File base/cpu.h (right): ...
7 years, 10 months ago (2013-01-31 19:58:42 UTC) #13
brettw
You put it in browser process creation rather than gpu process creation like your commit ...
7 years, 10 months ago (2013-01-31 20:08:43 UTC) #14
whunt
7 years, 10 months ago (2013-01-31 21:30:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/whunt@chromium.org/12049058/24001
7 years, 10 months ago (2013-01-31 23:37:38 UTC) #16
commit-bot: I haz the power
Presubmit check for 12049058-24001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 10 months ago (2013-01-31 23:37:41 UTC) #17
brettw
lgtm
7 years, 10 months ago (2013-02-01 06:17:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/whunt@chromium.org/12049058/24001
7 years, 10 months ago (2013-02-01 18:27:34 UTC) #19
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=106431
7 years, 10 months ago (2013-02-01 22:38:42 UTC) #20
whunt
On 2013/02/01 22:38:42, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 10 months ago (2013-02-01 22:43:21 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/whunt@chromium.org/12049058/24001
7 years, 10 months ago (2013-02-02 01:04:13 UTC) #22
commit-bot: I haz the power
7 years, 10 months ago (2013-02-02 01:10:04 UTC) #23
Message was sent while issue was closed.
Change committed as 180223

Powered by Google App Engine
This is Rietveld 408576698