From f091f6fe49750a9bd6692c8d988e9449a415a7be Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Thu, 20 Jul 2017 13:35:05 +0200 Subject: [PATCH] Display the result of the benchmark (shall be the same for all libraries) --- bench/common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bench/common.h b/bench/common.h index ed76a735..35beb0ed 100644 --- a/bench/common.h +++ b/bench/common.h @@ -22,13 +22,12 @@ static unsigned int rand_get(void) static void test_function(const char str[], size_t n, void (*func)(size_t)) { unsigned long long start, end; - // (*func)(n); rand_init(); start = cputime(); (*func)(n); end = cputime(); end = (end - start) / 1000U; - printf ("%s %Lu ms for n = %lu\n", str, end, n); + printf ("%s %Lu ms for n = %lu [r=%lu]\n", str, end, n, g_result); } #if defined(_WIN32)