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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_JANKOMETER_H_
6 #define CHROME_BROWSER_JANKOMETER_H_
12 // The Jank-O-Meter measures jankyness, which is user-perceivable lag in
13 // responsiveness of the application.
15 // It will log such "lag" events to the metrics log.
17 // This function will initialize the service, which will install itself in
18 // critical threads. It should be called on the UI thread.
19 void InstallJankometer(const base::CommandLine
& parsed_command_line
);
21 // Clean up Jank-O-Meter junk
22 void UninstallJankometer();
24 #endif // CHROME_BROWSER_JANKOMETER_H_