Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: media/base/vector_math_perftest.cc

Issue 70833002: Fix demuxer_perftest file paths and adjust various perftests' iterations/units. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/sinc_resampler_perftest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/vector_math_perftest.cc
diff --git a/media/base/vector_math_perftest.cc b/media/base/vector_math_perftest.cc
index 78699c3d701d842431998a28e15ef9b4a6083c19..498eb95a653d17a3a73c0e5ee3b84e219186df10 100644
--- a/media/base/vector_math_perftest.cc
+++ b/media/base/vector_math_perftest.cc
@@ -43,12 +43,13 @@ class VectorMathPerfTest : public testing::Test {
kVectorSize - (aligned ? 0 : 1),
output_vector_.get());
}
- double total_time_seconds = (TimeTicks::HighResNow() - start).InSecondsF();
+ double total_time_milliseconds =
+ (TimeTicks::HighResNow() - start).InMillisecondsF();
perf_test::PrintResult(test_name,
"",
trace_name,
- kBenchmarkIterations / total_time_seconds,
- "runs/s",
+ kBenchmarkIterations / total_time_milliseconds,
+ "runs/ms",
true);
}
« no previous file with comments | « media/base/sinc_resampler_perftest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698