blob: fe5d4f628923effa3b2b7ed15eee6cbd75405f65 [file] [log] [blame]
[email protected]16e0efd2009-07-08 03:58:291// Copyright (c) 2009 The Chromium Authors. All rights reserved.
license.botbf09a502008-08-24 00:55:552// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
initial.commit09911bf2008-07-26 23:55:294
[email protected]16e0efd2009-07-08 03:58:295#ifndef CHROME_BROWSER_JANKOMETER_H_
6#define CHROME_BROWSER_JANKOMETER_H_
initial.commit09911bf2008-07-26 23:55:297
8class CommandLine;
9
10// The Jank-O-Meter measures jankyness, which is user-perceivable lag in
11// responsiveness of the application.
12//
13// It will log such "lag" events to the metrics log.
14//
15// This function will initialize the service, which will install itself in
16// critical threads. It should be called on the UI thread.
[email protected]16e0efd2009-07-08 03:58:2917void InstallJankometer(const CommandLine& parsed_command_line);
initial.commit09911bf2008-07-26 23:55:2918
19// Clean up Jank-O-Meter junk
20void UninstallJankometer();
21
[email protected]16e0efd2009-07-08 03:58:2922#endif // CHROME_BROWSER_JANKOMETER_H_