OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // Counters used within the browser. | 5 // Counters used within the browser. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_COUNTERS_H_ | 7 #ifndef CHROME_COMMON_CHROME_COUNTERS_H_ |
8 #define CHROME_COMMON_CHROME_COUNTERS_H_ | 8 #define CHROME_COMMON_CHROME_COUNTERS_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 static base::StatsCounterTimer& chrome_main(); | 22 static base::StatsCounterTimer& chrome_main(); |
23 | 23 |
24 // The amount of time spent in renderer initialization. | 24 // The amount of time spent in renderer initialization. |
25 static base::StatsCounterTimer& renderer_main(); | 25 static base::StatsCounterTimer& renderer_main(); |
26 | 26 |
27 // Time spent in spellchecker initialization. | 27 // Time spent in spellchecker initialization. |
28 static base::StatsCounterTimer& spellcheck_init(); | 28 static base::StatsCounterTimer& spellcheck_init(); |
29 | 29 |
30 // Time/Count of spellcheck lookups. | 30 // Time/Count of spellcheck lookups. |
31 static base::StatsRate& spellcheck_lookup(); | 31 static base::StatsRate& spellcheck_lookup(); |
32 | |
33 // Time spent loading the Chrome plugins. | |
34 static base::StatsCounterTimer& plugin_load(); | |
35 | |
36 // Time/Count of plugin network interception. | |
37 static base::StatsRate& plugin_intercept(); | |
38 }; | 32 }; |
39 | 33 |
40 } // namespace chrome | 34 } // namespace chrome |
41 | 35 |
42 #endif // CHROME_COMMON_CHROME_COUNTERS_H_ | 36 #endif // CHROME_COMMON_CHROME_COUNTERS_H_ |
OLD | NEW |