| Index: media/base/vector_math_perftest.cc
|
| diff --git a/media/base/vector_math_perftest.cc b/media/base/vector_math_perftest.cc
|
| index 2cf4691be4a46da6689d859f7ed1f452f0a614e5..ae3b54e6bf5917bad802eae7e7a33a8b04a81d70 100644
|
| --- a/media/base/vector_math_perftest.cc
|
| +++ b/media/base/vector_math_perftest.cc
|
| @@ -36,7 +36,7 @@ class VectorMathPerfTest : public testing::Test {
|
| bool aligned,
|
| const std::string& test_name,
|
| const std::string& trace_name) {
|
| - TimeTicks start = TimeTicks::HighResNow();
|
| + TimeTicks start = TimeTicks::Now();
|
| for (int i = 0; i < kBenchmarkIterations; ++i) {
|
| fn(input_vector_.get(),
|
| kScale,
|
| @@ -44,7 +44,7 @@ class VectorMathPerfTest : public testing::Test {
|
| output_vector_.get());
|
| }
|
| double total_time_milliseconds =
|
| - (TimeTicks::HighResNow() - start).InMillisecondsF();
|
| + (TimeTicks::Now() - start).InMillisecondsF();
|
| perf_test::PrintResult(test_name,
|
| "",
|
| trace_name,
|
| @@ -58,12 +58,12 @@ class VectorMathPerfTest : public testing::Test {
|
| int len,
|
| const std::string& test_name,
|
| const std::string& trace_name) {
|
| - TimeTicks start = TimeTicks::HighResNow();
|
| + TimeTicks start = TimeTicks::Now();
|
| for (int i = 0; i < kEWMABenchmarkIterations; ++i) {
|
| fn(0.5f, input_vector_.get(), len, 0.1f);
|
| }
|
| double total_time_milliseconds =
|
| - (TimeTicks::HighResNow() - start).InMillisecondsF();
|
| + (TimeTicks::Now() - start).InMillisecondsF();
|
| perf_test::PrintResult(test_name,
|
| "",
|
| trace_name,
|
|
|