OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_JANKOMETER_H__ | 5 #ifndef CHROME_BROWSER_JANKOMETER_H_ |
6 #define CHROME_BROWSER_JANKOMETER_H__ | 6 #define CHROME_BROWSER_JANKOMETER_H_ |
7 | 7 |
8 class CommandLine; | 8 class CommandLine; |
9 | 9 |
10 // The Jank-O-Meter measures jankyness, which is user-perceivable lag in | 10 // The Jank-O-Meter measures jankyness, which is user-perceivable lag in |
11 // responsiveness of the application. | 11 // responsiveness of the application. |
12 // | 12 // |
13 // It will log such "lag" events to the metrics log. | 13 // It will log such "lag" events to the metrics log. |
14 // | 14 // |
15 // This function will initialize the service, which will install itself in | 15 // This function will initialize the service, which will install itself in |
16 // critical threads. It should be called on the UI thread. | 16 // critical threads. It should be called on the UI thread. |
17 void InstallJankometer(const CommandLine &parsed_command_line); | 17 void InstallJankometer(const CommandLine& parsed_command_line); |
18 | 18 |
19 // Clean up Jank-O-Meter junk | 19 // Clean up Jank-O-Meter junk |
20 void UninstallJankometer(); | 20 void UninstallJankometer(); |
21 | 21 |
22 #endif // CHROME_BROWSER_JANKOMETER_H__ | 22 #endif // CHROME_BROWSER_JANKOMETER_H_ |
OLD | NEW |