diff --git a/bench/PackedFloatInOutBenchmark.cc b/bench/PackedFloatInOutBenchmark.cc index 7c8765d41c..57544f5868 100644 --- a/bench/PackedFloatInOutBenchmark.cc +++ b/bench/PackedFloatInOutBenchmark.cc @@ -161,6 +161,7 @@ void performance_test() { NWARMUP, NITER, flush ? &llc : nullptr); + ttot *= 1e9; // convert to ns ((volatile char*)(llc.data())); cout << setw(5) << m << ", " << setw(5) << n << ", " << setw(5) << k << ", " diff --git a/bench/PackedRequantizeAcc16Benchmark.cc b/bench/PackedRequantizeAcc16Benchmark.cc index 667a3e1b0b..ec83934c0f 100644 --- a/bench/PackedRequantizeAcc16Benchmark.cc +++ b/bench/PackedRequantizeAcc16Benchmark.cc @@ -156,6 +156,7 @@ void performance_test() { NWARMUP, NITER, flush ? &llc : nullptr); + ttot *= 1e9; // convert to ns ((volatile char*)(llc.data())); cout << setw(16) << runType << ", " << fixed << setw(5) << setprecision(1) diff --git a/bench/PackedRequantizeAcc32Benchmark.cc b/bench/PackedRequantizeAcc32Benchmark.cc index e80a716f9a..37ee32645a 100644 --- a/bench/PackedRequantizeAcc32Benchmark.cc +++ b/bench/PackedRequantizeAcc32Benchmark.cc @@ -161,6 +161,7 @@ void performance_test() { NWARMUP, NITER, flush ? &llc : nullptr); + ttot *= 1e9; // convert to ns ((volatile char*)(llc.data()));