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 // TODO(chebert): i18n on all constants. | 9 // TODO(chebert): i18n on all constants. |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const char kMetricTestStartupTimeUnits[] = "microseconds"; | 60 const char kMetricTestStartupTimeUnits[] = "microseconds"; |
61 const double kMetricTestStartupTimeTickSize = 5000000; | 61 const double kMetricTestStartupTimeTickSize = 5000000; |
62 | 62 |
63 // Session Restore Time | 63 // Session Restore Time |
64 const char kMetricSessionRestoreTimeName[] = "Session Restore Time"; | 64 const char kMetricSessionRestoreTimeName[] = "Session Restore Time"; |
65 const char kMetricSessionRestoreTimeDescription[] = | 65 const char kMetricSessionRestoreTimeDescription[] = |
66 "The session restore time measured in microseconds"; | 66 "The session restore time measured in microseconds"; |
67 const char kMetricSessionRestoreTimeUnits[] = "microseconds"; | 67 const char kMetricSessionRestoreTimeUnits[] = "microseconds"; |
68 const double kMetricSessionRestoreTimeTickSize = 5000000; | 68 const double kMetricSessionRestoreTimeTickSize = 5000000; |
69 | 69 |
| 70 // Page Load Time |
| 71 const char kMetricPageLoadTimeName[] = "Page Load Time"; |
| 72 const char kMetricPageLoadTimeDescription[] = |
| 73 "The amount of time taken to load a page measured in microseconds."; |
| 74 const char kMetricPageLoadTimeUnits[] = "microseconds"; |
| 75 const double kMetricPageLoadTimeTickSize = 30000000.0; |
| 76 |
70 } // namespace performance_monitor | 77 } // namespace performance_monitor |
OLD | NEW |