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

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

Issue 10656052: Performance monitor stats gathering. (Closed) Base URL: http://git.chromium.org/chromium/src.git@cpm_main
Patch Set: Nits 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/constants.cc
diff --git a/chrome/browser/performance_monitor/constants.cc b/chrome/browser/performance_monitor/constants.cc
index 3dcacb9a559967aad953d88f923d8416cb72e2d9..bdabb4ba57480a2137ab2302a5c0bfc02bd0e405 100644
--- a/chrome/browser/performance_monitor/constants.cc
+++ b/chrome/browser/performance_monitor/constants.cc
@@ -6,12 +6,19 @@
namespace performance_monitor {
+const char kMetricCPUUsage[] = "cpu_usage";
+const char kMetricCPUUsageDescription[] =
+ "Total CPU usage of all running Chrome processes.";
+const char kMetricPrivateMemoryUsage[] = "private_memory_usage";
+const char kMetricPrivateMemoryUsageDescription[] =
+ "Total private memory usage of all running Chrome processes.";
+const char kMetricSharedMemoryUsage[] = "shared_memory_usage";
+const char kMetricSharedMemoryUsageDescription[] =
+ "Total shared memory usage of all running Chrome processes.";
// The key to insert/retrieve information about the chrome version from the
// database.
const char kStateChromeVersion[] = "chrome_version";
const char kMetricNotFoundError[] = "Mertic details not found.";
const char kProcessChromeAggregate[] = "chrome_aggregate";
-const char kSampleMetricDescription[] = "A sample metric.";
-const char kSampleMetricName[] = "SAMPLE";
} // namespace performance_monitor

Powered by Google App Engine
This is Rietveld 408576698