OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/performance_monitor/constants.h" | 5 #include "chrome/browser/performance_monitor/constants.h" |
6 | 6 |
7 namespace performance_monitor { | 7 namespace performance_monitor { |
8 | 8 |
9 const char kMetricCPUUsage[] = "cpu_usage"; | |
10 const char kMetricCPUUsageDescription[] = | |
11 "Median CPU usage of all running Chrome processes."; | |
Devlin
2012/07/23 21:10:33
See comment in performance_monitor.cc about not us
mitchellwrosen
2012/07/23 23:58:51
Done.
| |
12 const char kMetricPrivateMemoryUsage[] = "private_memory_usage"; | |
13 const char kMetricPrivateMemoryUsageDescription[] = | |
14 "Median private memory usage of all running Chrome processes."; | |
15 const char kMetricSharedMemoryUsage[] = "shared_memory_usage"; | |
16 const char kMetricSharedMemoryUsageDescription[] = | |
17 "Median shared memory usage of all running Chrome processes."; | |
9 // The key to insert/retrieve information about the chrome version from the | 18 // The key to insert/retrieve information about the chrome version from the |
10 // database. | 19 // database. |
11 const char kStateChromeVersion[] = "chrome_version"; | 20 const char kStateChromeVersion[] = "chrome_version"; |
12 const char kMetricNotFoundError[] = "Mertic details not found."; | 21 const char kMetricNotFoundError[] = "Mertic details not found."; |
13 const char kProcessChromeAggregate[] = "chrome_aggregate"; | 22 const char kProcessChromeAggregate[] = "chrome_aggregate"; |
14 const char kSampleMetricDescription[] = "A sample metric."; | |
15 const char kSampleMetricName[] = "SAMPLE"; | |
16 | 23 |
17 } // namespace performance_monitor | 24 } // namespace performance_monitor |
OLD | NEW |