diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-03-12 23:07:37 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-03-12 23:07:37 +0100 |
| commit | a035fc10768bf48d096a33d0748e679e5a3e2540 (patch) | |
| tree | c31f6b4433c3a4713f47f32a295380e40c34f7a3 /bench/benchmark.c | |
| parent | 64 bits (severely) outshines 16 bits and 8 bits in performance: do some cleanup (diff) | |
| download | libzahl-a035fc10768bf48d096a33d0748e679e5a3e2540.tar.gz libzahl-a035fc10768bf48d096a33d0748e679e5a3e2540.tar.bz2 libzahl-a035fc10768bf48d096a33d0748e679e5a3e2540.tar.xz | |
Add possibility to compare against libtommath
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'bench/benchmark.c')
| -rw-r--r-- | bench/benchmark.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bench/benchmark.c b/bench/benchmark.c index 7d062a6..7b987e2 100644 --- a/bench/benchmark.c +++ b/bench/benchmark.c @@ -1,7 +1,11 @@ #include <time.h> #include <stdio.h> -#include "../zahl.h" +#ifdef BENCHMARK_LIB +# include BENCHMARK_LIB +#else +# include "../zahl.h" +#endif #ifndef CLOCK_MONOTONIC_RAW |
