From d0907217303c0e99f3a1dd7ff8b6d7881e0fa903 Mon Sep 17 00:00:00 2001 From: toddouska Date: Sat, 28 Mar 2015 14:38:29 -0700 Subject: [PATCH] fix cycles per byte format is cycles > 100 --- wolfcrypt/benchmark/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index bf397a2df..5295e2470 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -85,7 +85,7 @@ static word64 total_cycles; #define BEGIN_INTEL_CYCLES total_cycles = get_intel_cycles(); #define END_INTEL_CYCLES total_cycles = get_intel_cycles() - total_cycles; - #define SHOW_INTEL_CYCLES printf(" Cycles per byte = %5.2f", \ + #define SHOW_INTEL_CYCLES printf(" Cycles per byte = %6.2f", \ (float)total_cycles / (numBlocks*sizeof(plain))); #else #define BEGIN_INTEL_CYCLES