| Index: base/test/perf_test_suite.cc
|
| diff --git a/base/test/perf_test_suite.cc b/base/test/perf_test_suite.cc
|
| index 86be1199619e7772d5350362975442043d8c23eb..04ebb8b5d4eaa1c7889d49d191559b97c767580a 100644
|
| --- a/base/test/perf_test_suite.cc
|
| +++ b/base/test/perf_test_suite.cc
|
| @@ -10,13 +10,12 @@
|
| #include "base/path_service.h"
|
| #include "base/process/launch.h"
|
| #include "base/strings/string_util.h"
|
| -#include "base/test/perftimer.h"
|
| +#include "base/test/perf_log.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace base {
|
|
|
| -PerfTestSuite::PerfTestSuite(int argc, char** argv) : TestSuite(argc, argv) {
|
| -}
|
| +PerfTestSuite::PerfTestSuite(int argc, char** argv) : TestSuite(argc, argv) {}
|
|
|
| void PerfTestSuite::Initialize() {
|
| TestSuite::Initialize();
|
| @@ -26,7 +25,7 @@ void PerfTestSuite::Initialize() {
|
| CommandLine::ForCurrentProcess()->GetSwitchValuePath("log-file");
|
| if (log_path.empty()) {
|
| FilePath exe;
|
| - PathService::Get(base::FILE_EXE, &exe);
|
| + PathService::Get(FILE_EXE, &exe);
|
| log_path = exe.ReplaceExtension(FILE_PATH_LITERAL("log"));
|
| log_path = log_path.InsertBeforeExtension(FILE_PATH_LITERAL("_perf"));
|
| }
|
| @@ -34,8 +33,8 @@ void PerfTestSuite::Initialize() {
|
|
|
| // Raise to high priority to have more precise measurements. Since we don't
|
| // aim at 1% precision, it is not necessary to run at realtime level.
|
| - if (!base::debug::BeingDebugged())
|
| - base::RaiseProcessToHighPriority();
|
| + if (!debug::BeingDebugged())
|
| + RaiseProcessToHighPriority();
|
| }
|
|
|
| void PerfTestSuite::Shutdown() {
|
|
|