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

Issue 29873002: PerformanceMonitor: Add a new UMA histograms to track average CPU utilization (Closed)

Created:
7 years, 2 months ago by oystein (OOO til 10th of July)
Modified:
7 years, 1 month ago
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

PerformanceMonitor: Add a new UMA histograms to track average CPU utilization of the browser process R=asvitkine@chromium.org, yoz@chromium.org BUG=306713 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230802

Patch Set 1 #

Total comments: 11

Patch Set 2 : Expanded docs #

Total comments: 6

Patch Set 3 : Increased histogram range #

Patch Set 4 : Platform-independent CPU metrics #

Patch Set 5 : Rebase #

Total comments: 4

Patch Set 6 : Added units tag to histogram xml #

Total comments: 4

Patch Set 7 : Docs #

Total comments: 2

Patch Set 8 : Comment update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -8 lines) Patch
M base/process/process_metrics.h View 1 2 3 4 5 6 1 chunk +11 lines, -6 lines 0 comments Download
M base/process/process_metrics.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/performance_monitor/process_metrics_history.cc View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
oystein (OOO til 10th of July)
7 years, 2 months ago (2013-10-18 20:55:13 UTC) #1
Yoyo Zhou
LGTM https://codereview.chromium.org/29873002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/29873002/diff/1/tools/metrics/histograms/histograms.xml#newcode11287 tools/metrics/histograms/histograms.xml:11287: + Average CPU utilization of the browser process, ...
7 years, 2 months ago (2013-10-18 21:13:48 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/29873002/diff/1/chrome/browser/performance_monitor/process_metrics_history.cc File chrome/browser/performance_monitor/process_metrics_history.cc (right): https://codereview.chromium.org/29873002/diff/1/chrome/browser/performance_monitor/process_metrics_history.cc#newcode82 chrome/browser/performance_monitor/process_metrics_history.cc:82: 0, 1200, 20); Can you explain why you're using ...
7 years, 2 months ago (2013-10-18 21:39:11 UTC) #3
Yoyo Zhou
https://codereview.chromium.org/29873002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/29873002/diff/1/tools/metrics/histograms/histograms.xml#newcode11288 tools/metrics/histograms/histograms.xml:11288: + interval. On 2013/10/18 21:39:12, Alexei Svitkine wrote: > ...
7 years, 2 months ago (2013-10-18 21:49:31 UTC) #4
oystein (OOO til 10th of July)
https://codereview.chromium.org/29873002/diff/1/chrome/browser/performance_monitor/process_metrics_history.cc File chrome/browser/performance_monitor/process_metrics_history.cc (right): https://codereview.chromium.org/29873002/diff/1/chrome/browser/performance_monitor/process_metrics_history.cc#newcode82 chrome/browser/performance_monitor/process_metrics_history.cc:82: 0, 1200, 20); On 2013/10/18 21:39:12, Alexei Svitkine wrote: ...
7 years, 2 months ago (2013-10-21 14:38:44 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/29873002/diff/1/chrome/browser/performance_monitor/process_metrics_history.cc File chrome/browser/performance_monitor/process_metrics_history.cc (right): https://codereview.chromium.org/29873002/diff/1/chrome/browser/performance_monitor/process_metrics_history.cc#newcode82 chrome/browser/performance_monitor/process_metrics_history.cc:82: 0, 1200, 20); On 2013/10/21 14:38:45, Oystein wrote: > ...
7 years, 2 months ago (2013-10-21 14:53:46 UTC) #6
oystein (OOO til 10th of July)
https://codereview.chromium.org/29873002/diff/1/chrome/browser/performance_monitor/process_metrics_history.cc File chrome/browser/performance_monitor/process_metrics_history.cc (right): https://codereview.chromium.org/29873002/diff/1/chrome/browser/performance_monitor/process_metrics_history.cc#newcode82 chrome/browser/performance_monitor/process_metrics_history.cc:82: 0, 1200, 20); On 2013/10/21 14:53:46, Alexei Svitkine wrote: ...
7 years, 2 months ago (2013-10-21 15:15:05 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/29873002/diff/1/chrome/browser/performance_monitor/process_metrics_history.cc File chrome/browser/performance_monitor/process_metrics_history.cc (right): https://codereview.chromium.org/29873002/diff/1/chrome/browser/performance_monitor/process_metrics_history.cc#newcode82 chrome/browser/performance_monitor/process_metrics_history.cc:82: 0, 1200, 20); On 2013/10/21 15:15:05, Oystein wrote: > ...
7 years, 2 months ago (2013-10-21 15:27:30 UTC) #8
oystein (OOO til 10th of July)
https://codereview.chromium.org/29873002/diff/70001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/29873002/diff/70001/tools/metrics/histograms/histograms.xml#newcode11325 tools/metrics/histograms/histograms.xml:11325: + read as 400%. On 2013/10/21 15:27:31, Alexei Svitkine ...
7 years, 2 months ago (2013-10-21 15:33:11 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/29873002/diff/70001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/29873002/diff/70001/tools/metrics/histograms/histograms.xml#newcode11325 tools/metrics/histograms/histograms.xml:11325: + read as 400%. On 2013/10/21 15:33:12, Oystein wrote: ...
7 years, 2 months ago (2013-10-21 16:31:06 UTC) #10
oystein (OOO til 10th of July)
https://codereview.chromium.org/29873002/diff/70001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/29873002/diff/70001/tools/metrics/histograms/histograms.xml#newcode11325 tools/metrics/histograms/histograms.xml:11325: + read as 400%. On 2013/10/21 16:31:07, Alexei Svitkine ...
7 years, 2 months ago (2013-10-21 17:30:03 UTC) #11
oystein (OOO til 10th of July)
jar, brettw: Following up to my email from yesterday, I added a new function to ...
7 years, 2 months ago (2013-10-22 19:25:03 UTC) #12
jar (doing other things)
I'm fine with the patch... but please consider the comment below. If you're good to ...
7 years, 2 months ago (2013-10-22 22:30:02 UTC) #13
oystein (OOO til 10th of July)
https://codereview.chromium.org/29873002/diff/240001/chrome/browser/performance_monitor/process_metrics_history.cc File chrome/browser/performance_monitor/process_metrics_history.cc (right): https://codereview.chromium.org/29873002/diff/240001/chrome/browser/performance_monitor/process_metrics_history.cc#newcode82 chrome/browser/performance_monitor/process_metrics_history.cc:82: UMA_HISTOGRAM_CUSTOM_COUNTS("PerformanceMonitor.AverageCPU.BrowserProcess", On 2013/10/22 22:30:03, jar wrote: > This may ...
7 years, 2 months ago (2013-10-24 14:47:56 UTC) #14
Alexei Svitkine (slow)
https://codereview.chromium.org/29873002/diff/400001/base/process/process_metrics.h File base/process/process_metrics.h (right): https://codereview.chromium.org/29873002/diff/400001/base/process/process_metrics.h#newcode172 base/process/process_metrics.h:172: // including Windows. Mention what the consistent values actually ...
7 years, 2 months ago (2013-10-24 14:52:00 UTC) #15
oystein (OOO til 10th of July)
https://codereview.chromium.org/29873002/diff/400001/base/process/process_metrics.h File base/process/process_metrics.h (right): https://codereview.chromium.org/29873002/diff/400001/base/process/process_metrics.h#newcode172 base/process/process_metrics.h:172: // including Windows. On 2013/10/24 14:52:00, Alexei Svitkine wrote: ...
7 years, 2 months ago (2013-10-24 15:01:05 UTC) #16
Alexei Svitkine (slow)
https://codereview.chromium.org/29873002/diff/400001/base/process/process_metrics.h File base/process/process_metrics.h (right): https://codereview.chromium.org/29873002/diff/400001/base/process/process_metrics.h#newcode172 base/process/process_metrics.h:172: // including Windows. On 2013/10/24 15:01:06, Oystein wrote: > ...
7 years, 2 months ago (2013-10-24 15:13:32 UTC) #17
oystein (OOO til 10th of July)
https://codereview.chromium.org/29873002/diff/400001/base/process/process_metrics.h File base/process/process_metrics.h (right): https://codereview.chromium.org/29873002/diff/400001/base/process/process_metrics.h#newcode172 base/process/process_metrics.h:172: // including Windows. On 2013/10/24 15:13:33, Alexei Svitkine wrote: ...
7 years, 2 months ago (2013-10-24 15:25:50 UTC) #18
Alexei Svitkine (slow)
https://codereview.chromium.org/29873002/diff/490004/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/29873002/diff/490004/tools/metrics/histograms/histograms.xml#newcode11370 tools/metrics/histograms/histograms.xml:11370: + interval. On Windows this is a range from ...
7 years, 2 months ago (2013-10-24 15:48:12 UTC) #19
oystein (OOO til 10th of July)
https://codereview.chromium.org/29873002/diff/490004/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/29873002/diff/490004/tools/metrics/histograms/histograms.xml#newcode11370 tools/metrics/histograms/histograms.xml:11370: + interval. On Windows this is a range from ...
7 years, 2 months ago (2013-10-24 15:51:45 UTC) #20
jar (doing other things)
LGTM
7 years, 2 months ago (2013-10-24 15:59:00 UTC) #21
Alexei Svitkine (slow)
LGTM, thanks!
7 years, 1 month ago (2013-10-24 16:34:26 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/29873002/590002
7 years, 1 month ago (2013-10-24 17:49:49 UTC) #23
commit-bot: I haz the power
7 years, 1 month ago (2013-10-24 20:43:05 UTC) #24
Message was sent while issue was closed.
Change committed as 230802

Powered by Google App Engine
This is Rietveld 408576698