aboutsummaryrefslogtreecommitdiffstats
path: root/bench/benchmark.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-01 23:21:27 +0200
committerMattias Andrée <maandree@kth.se>2016-05-01 23:21:27 +0200
commit068fc72f804ef972a35f06b06b049a84db1ce6a7 (patch)
treef789abbb720db0e4b45e2547bae2b7a568efd818 /bench/benchmark.h
parentComments from 1-bit 4097-bit benchmarks (diff)
downloadlibzahl-068fc72f804ef972a35f06b06b049a84db1ce6a7.tar.gz
libzahl-068fc72f804ef972a35f06b06b049a84db1ce6a7.tar.bz2
libzahl-068fc72f804ef972a35f06b06b049a84db1ce6a7.tar.xz
Benchmarking stuff
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'bench/benchmark.h')
-rw-r--r--bench/benchmark.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/bench/benchmark.h b/bench/benchmark.h
index f69da20..92f9809 100644
--- a/bench/benchmark.h
+++ b/bench/benchmark.h
@@ -14,12 +14,16 @@
# include BENCHMARK_LIB
#else
# include "../zahl.h"
-# define BIGINT_LIBRARY "libzahl"
+# define BIGINT_LIBRARY "libzahl"
+#endif
+
+#ifndef LIBRARY_SUFFIX
+# define LIBRARY_SUFFIX ""
#endif
#ifndef CLOCK_MONOTONIC_RAW
-# define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
+# define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
#endif