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

Issue 10656052: Performance monitor stats gathering. (Closed)

Created:
8 years, 6 months ago by mitchellwrosen
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, Matt Tytel, clintstaley
Base URL:
http://git.chromium.org/chromium/src.git@cpm_main
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 26

Patch Set 2 : Changes per comments #

Total comments: 28

Patch Set 3 : Numero 3 #

Total comments: 25

Patch Set 4 : Fixes #

Total comments: 2

Patch Set 5 : Changes per comments #

Patch Set 6 : #

Total comments: 15

Patch Set 7 : Nits #

Total comments: 4

Patch Set 8 : Fixed Windows bug, duplicate CPU usage gather, couple nits #

Total comments: 12

Patch Set 9 : #

Total comments: 8

Patch Set 10 : Nits #

Total comments: 2

Patch Set 11 : Sync with trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -3 lines) Patch
M chrome/browser/performance_monitor/constants.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/performance_monitor/constants.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -2 lines 0 comments Download
M chrome/browser/performance_monitor/metric_details.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/performance_monitor/metric_details.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/performance_monitor/performance_monitor.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/performance_monitor/performance_monitor.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +92 lines, -1 line 0 comments Download
M chrome/browser/performance_monitor/performance_monitor_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +85 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
mitchellwrosen
8 years, 5 months ago (2012-06-27 16:12:31 UTC) #1
mitchellwrosen
8 years, 5 months ago (2012-07-05 17:44:37 UTC) #2
Yoyo Zhou
Sorry for the late review, I was out last week. https://chromiumcodereview.appspot.com/10656052/diff/1/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/1/chrome/browser/performance_monitor/performance_monitor.cc#newcode36 ...
8 years, 5 months ago (2012-07-09 21:33:35 UTC) #3
mitchellwrosen
https://chromiumcodereview.appspot.com/10656052/diff/1/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/1/chrome/browser/performance_monitor/performance_monitor.cc#newcode36 chrome/browser/performance_monitor/performance_monitor.cc:36: T GetMedian(std::vector<T> vec) { On 2012/07/09 21:33:36, Yoyo Zhou ...
8 years, 5 months ago (2012-07-09 22:45:23 UTC) #4
Yoyo Zhou
https://chromiumcodereview.appspot.com/10656052/diff/1/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/1/chrome/browser/performance_monitor/performance_monitor.cc#newcode240 chrome/browser/performance_monitor/performance_monitor.cc:240: if (iter->first == base::kNullProcessHandle) { On 2012/07/09 22:45:23, mitchellwrosen ...
8 years, 5 months ago (2012-07-10 21:58:00 UTC) #5
Devlin
https://chromiumcodereview.appspot.com/10656052/diff/9007/chrome/browser/performance_monitor/constants.cc File chrome/browser/performance_monitor/constants.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/9007/chrome/browser/performance_monitor/constants.cc#newcode9 chrome/browser/performance_monitor/constants.cc:9: const char kMetricCPUUsage[] = "cpu_usage"; Provide at least one ...
8 years, 5 months ago (2012-07-11 16:28:08 UTC) #6
mitchellwrosen
https://chromiumcodereview.appspot.com/10656052/diff/9007/chrome/browser/performance_monitor/constants.cc File chrome/browser/performance_monitor/constants.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/9007/chrome/browser/performance_monitor/constants.cc#newcode9 chrome/browser/performance_monitor/constants.cc:9: const char kMetricCPUUsage[] = "cpu_usage"; On 2012/07/11 16:28:08, D ...
8 years, 5 months ago (2012-07-11 18:30:18 UTC) #7
Devlin
Please also sync with latest master. https://chromiumcodereview.appspot.com/10656052/diff/14002/chrome/browser/performance_monitor/constants.h File chrome/browser/performance_monitor/constants.h (right): https://chromiumcodereview.appspot.com/10656052/diff/14002/chrome/browser/performance_monitor/constants.h#newcode22 chrome/browser/performance_monitor/constants.h:22: // TODO(mtytel): When ...
8 years, 5 months ago (2012-07-17 18:07:58 UTC) #8
Yoyo Zhou
http://codereview.chromium.org/10656052/diff/9007/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): http://codereview.chromium.org/10656052/diff/9007/chrome/browser/performance_monitor/performance_monitor.cc#newcode265 chrome/browser/performance_monitor/performance_monitor.cc:265: linked_ptr<base::ProcessMetrics> process_metrics( On 2012/07/11 18:30:18, mitchellwrosen wrote: > On ...
8 years, 5 months ago (2012-07-19 21:35:35 UTC) #9
mitchellwrosen
http://codereview.chromium.org/10656052/diff/14002/chrome/browser/performance_monitor/constants.cc File chrome/browser/performance_monitor/constants.cc (right): http://codereview.chromium.org/10656052/diff/14002/chrome/browser/performance_monitor/constants.cc#newcode9 chrome/browser/performance_monitor/constants.cc:9: // Metric keys for statistics gathering. On 2012/07/19 21:35:35, ...
8 years, 5 months ago (2012-07-20 19:42:36 UTC) #10
Yoyo Zhou
http://codereview.chromium.org/10656052/diff/14002/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): http://codereview.chromium.org/10656052/diff/14002/chrome/browser/performance_monitor/performance_monitor.cc#newcode233 chrome/browser/performance_monitor/performance_monitor.cc:233: iter = (iter_next == iter_end) ? iter_next : iter_next++; ...
8 years, 5 months ago (2012-07-20 20:47:30 UTC) #11
Aaron Boodman
http://codereview.chromium.org/10656052/diff/14002/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): http://codereview.chromium.org/10656052/diff/14002/chrome/browser/performance_monitor/performance_monitor.cc#newcode8 chrome/browser/performance_monitor/performance_monitor.cc:8: #include <map> On 2012/07/20 19:42:36, mitchellwrosen wrote: > On ...
8 years, 5 months ago (2012-07-20 21:07:05 UTC) #12
mitchellwrosen
http://codereview.chromium.org/10656052/diff/14002/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): http://codereview.chromium.org/10656052/diff/14002/chrome/browser/performance_monitor/performance_monitor.cc#newcode233 chrome/browser/performance_monitor/performance_monitor.cc:233: iter = (iter_next == iter_end) ? iter_next : iter_next++; ...
8 years, 5 months ago (2012-07-20 23:05:27 UTC) #13
Yoyo Zhou
http://codereview.chromium.org/10656052/diff/14002/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): http://codereview.chromium.org/10656052/diff/14002/chrome/browser/performance_monitor/performance_monitor.cc#newcode233 chrome/browser/performance_monitor/performance_monitor.cc:233: iter = (iter_next == iter_end) ? iter_next : iter_next++; ...
8 years, 5 months ago (2012-07-20 23:14:26 UTC) #14
mitchellwrosen
Oops, ya, every element will be visited like you described. Sorry.
8 years, 5 months ago (2012-07-20 23:20:09 UTC) #15
mitchellwrosen
8 years, 5 months ago (2012-07-20 23:47:18 UTC) #16
Yoyo Zhou
LGTM
8 years, 5 months ago (2012-07-20 23:48:46 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mitchellwrosen@chromium.org/10656052/36002
8 years, 5 months ago (2012-07-20 23:56:05 UTC) #18
mitchellwrosen
On 2012/07/20 23:56:05, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
8 years, 5 months ago (2012-07-21 00:03:36 UTC) #19
Yoyo Zhou
On Fri, Jul 20, 2012 at 5:03 PM, <mitchellwrosen@chromium.org> wrote: > On 2012/07/20 23:56:05, I ...
8 years, 5 months ago (2012-07-21 00:05:56 UTC) #20
Devlin
https://chromiumcodereview.appspot.com/10656052/diff/36002/chrome/browser/performance_monitor/constants.cc File chrome/browser/performance_monitor/constants.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/36002/chrome/browser/performance_monitor/constants.cc#newcode11 chrome/browser/performance_monitor/constants.cc:11: "Median CPU usage of all running Chrome processes."; See ...
8 years, 5 months ago (2012-07-23 21:10:33 UTC) #21
Aaron Boodman
https://chromiumcodereview.appspot.com/10656052/diff/36002/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/36002/chrome/browser/performance_monitor/performance_monitor.cc#newcode208 chrome/browser/performance_monitor/performance_monitor.cc:208: base::DoubleToString(GetMedian(cpu_usage_vec))); On 2012/07/23 21:10:33, D Cronin wrote: > I ...
8 years, 5 months ago (2012-07-23 23:12:31 UTC) #22
mitchellwrosen
Fixed all the nits but currently the browser test is flaky on Windows. I've run ...
8 years, 5 months ago (2012-07-23 23:58:51 UTC) #23
Devlin
https://chromiumcodereview.appspot.com/10656052/diff/39004/base/process_util_win.cc File base/process_util_win.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/39004/base/process_util_win.cc#newcode735 base/process_util_win.cc:735: LOG(ERROR) << "GetMemoryBytes return false"; Debug statements generally don't ...
8 years, 5 months ago (2012-07-24 15:30:48 UTC) #24
mitchellwrosen
https://chromiumcodereview.appspot.com/10656052/diff/39004/base/process_util_win.cc File base/process_util_win.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/39004/base/process_util_win.cc#newcode735 base/process_util_win.cc:735: LOG(ERROR) << "GetMemoryBytes return false"; On 2012/07/24 15:30:48, D ...
8 years, 4 months ago (2012-07-27 19:24:51 UTC) #25
Devlin
https://chromiumcodereview.appspot.com/10656052/diff/41001/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/41001/chrome/browser/performance_monitor/performance_monitor.cc#newcode35 chrome/browser/performance_monitor/performance_monitor.cc:35: const uint32 access_flags = base::kProcessAccessDuplicateHandle | const uint32 kAccessFlags ...
8 years, 4 months ago (2012-07-27 22:09:47 UTC) #26
mitchellwrosen
https://chromiumcodereview.appspot.com/10656052/diff/41001/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/41001/chrome/browser/performance_monitor/performance_monitor.cc#newcode35 chrome/browser/performance_monitor/performance_monitor.cc:35: const uint32 access_flags = base::kProcessAccessDuplicateHandle | On 2012/07/27 22:09:47, ...
8 years, 4 months ago (2012-07-30 21:50:40 UTC) #27
Devlin
https://chromiumcodereview.appspot.com/10656052/diff/48002/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/48002/chrome/browser/performance_monitor/performance_monitor.cc#newcode199 chrome/browser/performance_monitor/performance_monitor.cc:199: base::DoubleToString(cpu_usage)); nit: This fits on the previous line, doesn't ...
8 years, 4 months ago (2012-07-31 17:05:13 UTC) #28
mitchellwrosen
https://chromiumcodereview.appspot.com/10656052/diff/48002/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/48002/chrome/browser/performance_monitor/performance_monitor.cc#newcode199 chrome/browser/performance_monitor/performance_monitor.cc:199: base::DoubleToString(cpu_usage)); On 2012/07/31 17:05:13, D Cronin wrote: > nit: ...
8 years, 4 months ago (2012-07-31 17:15:36 UTC) #29
Devlin
https://chromiumcodereview.appspot.com/10656052/diff/45003/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/45003/chrome/browser/performance_monitor/performance_monitor.cc#newcode35 chrome/browser/performance_monitor/performance_monitor.cc:35: const uint32 kAccessFlags = base::kProcessAccessDuplicateHandle | Do we need ...
8 years, 4 months ago (2012-07-31 18:43:20 UTC) #30
mitchellwrosen
https://chromiumcodereview.appspot.com/10656052/diff/45003/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://chromiumcodereview.appspot.com/10656052/diff/45003/chrome/browser/performance_monitor/performance_monitor.cc#newcode35 chrome/browser/performance_monitor/performance_monitor.cc:35: const uint32 kAccessFlags = base::kProcessAccessDuplicateHandle | On 2012/07/31 18:43:20, ...
8 years, 4 months ago (2012-07-31 18:51:19 UTC) #31
Devlin
LGTM. Might wanna get a quick check with Yoz, since his last was 10 days ...
8 years, 4 months ago (2012-07-31 20:01:11 UTC) #32
Yoyo Zhou
Still LGTM.
8 years, 4 months ago (2012-08-02 13:05:49 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mitchellwrosen@chromium.org/10656052/45003
8 years, 4 months ago (2012-08-02 17:17:28 UTC) #34
commit-bot: I haz the power
Try job failure for 10656052-45003 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-02 17:44:25 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mitchellwrosen@chromium.org/10656052/53008
8 years, 4 months ago (2012-08-02 23:27:34 UTC) #36
commit-bot: I haz the power
8 years, 4 months ago (2012-08-03 01:06:34 UTC) #37
Change committed as 149766

Powered by Google App Engine
This is Rietveld 408576698