blob: f7b985b4dd6f7786170565316ceff3f02e181c5e [file] [log] [blame]
license.botbf09a502008-08-24 00:55:551// 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
3// found in the LICENSE file.
initial.commit09911bf2008-07-26 23:55:294
5#ifndef CHROME_BROWSER_JANKOMETER_H__
6#define CHROME_BROWSER_JANKOMETER_H__
7
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.
17void InstallJankometer(const CommandLine &parsed_command_line);
18
19// Clean up Jank-O-Meter junk
20void UninstallJankometer();
21
22#endif // CHROME_BROWSER_JANKOMETER_H__
license.botbf09a502008-08-24 00:55:5523