• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2012 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.
4 
5 #ifndef CHROME_TEST_UI_UI_PERF_TEST_H_
6 #define CHROME_TEST_UI_UI_PERF_TEST_H_
7 
8 #include "chrome/test/ui/ui_test.h"
9 
10 class UIPerfTest : public UITest {
11  protected:
12   // Overrides UITestBase.
13   virtual void SetLaunchSwitches() OVERRIDE;
14 
15   // Prints IO performance data for use by perf graphs.
16   void PrintIOPerfInfo(const char* test_name);
17 
18   // Prints memory usage data for use by perf graphs.
19   void PrintMemoryUsageInfo(const char* test_name);
20 
21   // Configures the test to use the reference build.
22   void UseReferenceBuild();
23 };
24 
25 #endif  // CHROME_TEST_UI_UI_PERF_TEST_H_
26