aboutsummaryrefslogtreecommitdiffstats
path: root/bench/benchmark.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-08 15:53:31 +0200
committerMattias Andrée <maandree@kth.se>2016-04-08 15:53:31 +0200
commit52f91804ff67246deab3d98c790f8b6b845afcde (patch)
tree9bb8d3878b8c06d7eaae20a2ed06006b6a906c3f /bench/benchmark.c
parentgitignore: blacklist _/, for private files (diff)
downloadlibzahl-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.c2
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;\