From 0e2b5d163d4074cc0bde2acdaae78546d6e5c5f1 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Fri, 11 Dec 2020 18:42:43 -0500 Subject: [PATCH] Minor tweak. --- benchmarks/benchmark.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmarks/benchmark.cpp b/benchmarks/benchmark.cpp index 32e70d3..e482ac2 100644 --- a/benchmarks/benchmark.cpp +++ b/benchmarks/benchmark.cpp @@ -299,6 +299,8 @@ void pretty_print(double volume, size_t number_of_floats, std::string name, std: printf("%-40s: %8.2f MB/s (+/- %.1f %%) ", name.data(), volumeMB * 1000000000 / result.first, (result.second - result.first) * 100.0 / result.second); + printf("%8.2f Mfloat/s ", + number_of_floats * 1000 / result.first); printf(" %8.2f ns/f \n", double(result.first) /number_of_floats ); }