about summary refs log tree commit diff
path: root/benchtests/bench-timing.h
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/bench-timing.h')
-rw-r--r--benchtests/bench-timing.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/benchtests/bench-timing.h b/benchtests/bench-timing.h
index 264d4b8bab..009813bb80 100644
--- a/benchtests/bench-timing.h
+++ b/benchtests/bench-timing.h
@@ -70,3 +70,6 @@ typedef uint64_t timing_t;
 	  (min) / (d_iters), 1e9 * (d_total_i) / (d_total_s))
 
 #endif
+
+#define TIMING_PRINT_MEAN(d_total_s, d_iters) \
+  printf ("\t%g", (d_total_s) / (d_iters))