Fixed benchmark.
authorSimon Gerber <simon.gerber@inf.ethz.ch>
Fri, 4 Apr 2014 09:42:01 +0000 (11:42 +0200)
committerGerd Zellweger <mail@gerdzellweger.com>
Tue, 14 Oct 2014 06:51:23 +0000 (08:51 +0200)
usr/bench/mem_bench/memeasy.c

index 6e3bbe4..e25815e 100644 (file)
@@ -113,6 +113,8 @@ int main(int argc, char** argv)
 
     printf("Average cycles %"PRIuCYCLES", Variance %"PRIuCYCLES"\n \
            Average ms %"PRIu64" Variance ms %"PRIu64"\n",
+            bench_avg(runs, MAX_ITERATION),
+            bench_variance(runs, MAX_ITERATION),
             bench_tsc_to_ms(bench_avg(runs, MAX_ITERATION)),
             bench_tsc_to_ms(bench_variance(runs, MAX_ITERATION)));