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

Unified Diff: media/base/sinc_resampler_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/demuxer_perftest.cc ('k') | media/base/vector_math_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/sinc_resampler_perftest.cc
diff --git a/media/base/sinc_resampler_perftest.cc b/media/base/sinc_resampler_perftest.cc
index c7e75170e6260480beec9ae80f36b91a989c275c..21c6ec325c981dcbc1c4d2740ffddedf270420d0 100644
--- a/media/base/sinc_resampler_perftest.cc
+++ b/media/base/sinc_resampler_perftest.cc
@@ -40,13 +40,13 @@ static void RunConvolveBenchmark(
resampler->get_kernel_for_testing(),
kKernelInterpolationFactor);
}
- double total_time_seconds =
- (base::TimeTicks::HighResNow() - start).InSecondsF();
+ double total_time_milliseconds =
+ (base::TimeTicks::HighResNow() - start).InMillisecondsF();
perf_test::PrintResult("sinc_resampler_convolve",
"",
trace_name,
- kBenchmarkIterations / total_time_seconds,
- "runs/s",
+ kBenchmarkIterations / total_time_milliseconds,
+ "runs/ms",
true);
}
« no previous file with comments | « media/base/demuxer_perftest.cc ('k') | media/base/vector_math_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698