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

Unified Diff: chrome/browser/performance_monitor/metric_details.cc

Issue 10656052: Performance monitor stats gathering. (Closed) Base URL: http://git.chromium.org/chromium/src.git@cpm_main
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/performance_monitor/metric_details.cc
diff --git a/chrome/browser/performance_monitor/metric_details.cc b/chrome/browser/performance_monitor/metric_details.cc
index b8754ed6530e13af90aeadc144ebfc03496eacb0..d9420e254a273aec261d972320075654f1a8393b 100644
--- a/chrome/browser/performance_monitor/metric_details.cc
+++ b/chrome/browser/performance_monitor/metric_details.cc
@@ -13,7 +13,9 @@ namespace {
// Keep this array synced with MetricTypes in the header file.
// TODO(mtytel): i18n.
const char* kMetricTypeNames[] = {
- kSampleMetricName
+ kMetricCPUUsage,
+ kMetricPrivateMemoryUsage,
+ kMetricSharedMemoryUsage
};
COMPILE_ASSERT(ARRAYSIZE_UNSAFE(kMetricTypeNames) == METRIC_NUMBER_OF_METRICS,
metric_names_incorrect_size);

Powered by Google App Engine
This is Rietveld 408576698