diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-04-08 15:53:31 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-04-08 15:53:31 +0200 |
| commit | 52f91804ff67246deab3d98c790f8b6b845afcde (patch) | |
| tree | 9bb8d3878b8c06d7eaae20a2ed06006b6a906c3f /bench/benchmark.c | |
| parent | gitignore: blacklist _/, for private files (diff) | |
| download | libzahl-52f91804ff67246deab3d98c790f8b6b845afcde.tar.gz libzahl-52f91804ff67246deab3d98c790f8b6b845afcde.tar.bz2 libzahl-52f91804ff67246deab3d98c790f8b6b845afcde.tar.xz | |
Some improvements:
- Improve .gitignore
- Improve portability of the makefile
- Bring the translations, for gmp and tommath,
used by the benchmark up to date
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'bench/benchmark.c')
| -rw-r--r-- | bench/benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/benchmark.c b/bench/benchmark.c index 68084f2..6649958 100644 --- a/bench/benchmark.c +++ b/bench/benchmark.c @@ -18,7 +18,7 @@ i = FAST ? 1000000L : 1000L;\ clock_gettime(CLOCK_MONOTONIC_RAW, &start);\ while (i--) {\ - INSTRUCTION;\ + (void)INSTRUCTION;\ }\ clock_gettime(CLOCK_MONOTONIC_RAW, &end);\ end.tv_sec -= start.tv_sec;\ |
