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

Side by Side Diff: chrome/browser/performance_monitor/constants.cc

Issue 10805050: Chrome Performance Monitor: MetricDetails refactor. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Synced + nit. Created 8 years, 4 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 unified diff | Download patch
OLDNEW
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 // The key to insert/retrieve information about the chrome version from the 9 // The key to insert/retrieve information about the chrome version from the
10 // database. 10 // database.
11 const char kStateChromeVersion[] = "chrome_version"; 11 const char kStateChromeVersion[] = "chrome_version";
12 const char kMetricNotFoundError[] = "Mertic details not found."; 12 const char kMetricNotFoundError[] = "Mertic details not found.";
13 const char kProcessChromeAggregate[] = "chrome_aggregate"; 13 const char kProcessChromeAggregate[] = "chrome_aggregate";
14 const char kSampleMetricDescription[] = "A sample metric."; 14
15 const char kSampleMetricName[] = "SAMPLE"; 15 const char kMetricCPUUsageName[] = "CPU Usage";
16 const char kMetricCPUUsageDescription[] = "The CPU usage measured in percent.";
17 const char kMetricCPUUsageUnits[] = "percent";
18 const double kMetricCPUUsageTickSize = 100.0;
19
20 const char kMetricPrivateMemoryUsageName[] = "Private Memory Usage";
21 const char kMetricPrivateMemoryUsageDescription[] =
22 "The private memory usage measured in bytes.";
23 const char kMetricPrivateMemoryUsageUnits[] = "percent";
24 const double kMetricPrivateMemoryUsageTickSize = 10000000.0;
25
16 26
17 } // namespace performance_monitor 27 } // namespace performance_monitor
OLDNEW
« no previous file with comments | « chrome/browser/performance_monitor/constants.h ('k') | chrome/browser/performance_monitor/database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698