OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "base/test/perf_test_suite.h" | 5 #include "base/test/perf_test_suite.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/debug/debugger.h" | 8 #include "base/debug/debugger.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/perftimer.h" | 11 #include "base/perftimer.h" |
12 #include "base/process_util.h" | 12 #include "base/process/launch.h" |
13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 | 17 |
18 PerfTestSuite::PerfTestSuite(int argc, char** argv) : TestSuite(argc, argv) { | 18 PerfTestSuite::PerfTestSuite(int argc, char** argv) : TestSuite(argc, argv) { |
19 } | 19 } |
20 | 20 |
21 void PerfTestSuite::Initialize() { | 21 void PerfTestSuite::Initialize() { |
22 TestSuite::Initialize(); | 22 TestSuite::Initialize(); |
(...skipping 14 matching lines...) Expand all Loading... |
37 if (!base::debug::BeingDebugged()) | 37 if (!base::debug::BeingDebugged()) |
38 base::RaiseProcessToHighPriority(); | 38 base::RaiseProcessToHighPriority(); |
39 } | 39 } |
40 | 40 |
41 void PerfTestSuite::Shutdown() { | 41 void PerfTestSuite::Shutdown() { |
42 TestSuite::Shutdown(); | 42 TestSuite::Shutdown(); |
43 FinalizePerfLog(); | 43 FinalizePerfLog(); |
44 } | 44 } |
45 | 45 |
46 } // namespace base | 46 } // namespace base |
OLD | NEW |