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

Side by Side 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: Sync with trunk 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 // TODO(chebert): i18n on all constants. 9 // TODO(chebert): i18n on all constants.
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 // CPU Usage 36 // CPU Usage
37 const char kMetricCPUUsageName[] = "CPU Usage"; 37 const char kMetricCPUUsageName[] = "CPU Usage";
38 const char kMetricCPUUsageDescription[] = "The CPU usage measured in percent."; 38 const char kMetricCPUUsageDescription[] = "The CPU usage measured in percent.";
39 const char kMetricCPUUsageUnits[] = "percent"; 39 const char kMetricCPUUsageUnits[] = "percent";
40 const double kMetricCPUUsageTickSize = 100.0; 40 const double kMetricCPUUsageTickSize = 100.0;
41 41
42 // Private Memory Usage 42 // Private Memory Usage
43 const char kMetricPrivateMemoryUsageName[] = "Private Memory Usage"; 43 const char kMetricPrivateMemoryUsageName[] = "Private Memory Usage";
44 const char kMetricPrivateMemoryUsageDescription[] = 44 const char kMetricPrivateMemoryUsageDescription[] =
45 "The private memory usage measured in bytes."; 45 "The total private memory usage of all chrome processes measured in bytes.";
46 const char kMetricPrivateMemoryUsageUnits[] = "percent"; 46 const char kMetricPrivateMemoryUsageUnits[] = "bytes";
47 const double kMetricPrivateMemoryUsageTickSize = 10000000.0; 47 const double kMetricPrivateMemoryUsageTickSize = 10000000.0;
48 48
49 // Shared Memory Usage
50 const char kMetricSharedMemoryUsageName[] = "Shared Memory Usage";
51 const char kMetricSharedMemoryUsageDescription[] =
52 "The total shared memory usage of all chrome processes measured in bytes.";
53 const char kMetricSharedMemoryUsageUnits[] = "bytes";
54 const double kMetricSharedMemoryUsageTickSize = 10000000.0;
55
49 } // namespace performance_monitor 56 } // namespace performance_monitor
OLDNEW
« no previous file with comments | « chrome/browser/performance_monitor/constants.h ('k') | chrome/browser/performance_monitor/metric_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698