commit 12b97053570a5bb9c4b1115eae9509cafd975eb1
parent ccc36c882dc899ce75e41c7675ce48263ad24bfa
Author: Mattias Andrée <maandree@kth.se>
Date: Sun, 24 Jul 2016 15:33:37 +0200
Rename bench/{benchmark.h => util.h}
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
@@ -149,15 +149,15 @@ test-random.c: test-generate.py
test: test.c libzahl.a test-random.c
$(CC) $(LDFLAGS) $(CFLAGS_WITHOUT_O) -O0 $(CPPFLAGS) -o $@ test.c libzahl.a
-benchmark: bench/benchmark.c bench/benchmark.h $(BENCHMARK_DEP_$(BENCHMARK_LIB))
+benchmark: bench/benchmark.c bench/util.h $(BENCHMARK_DEP_$(BENCHMARK_LIB))
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ bench/benchmark.c \
$(BENCHMARK_LIB_$(BENCHMARK_LIB)) $(BENCHMARK_C_$(BENCHMARK_LIB))
-benchmark-func: bench/benchmark-func.c bench/benchmark.h $(BENCHMARK_DEP_$(BENCHMARK_LIB))
+benchmark-func: bench/benchmark-func.c bench/util.h $(BENCHMARK_DEP_$(BENCHMARK_LIB))
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ bench/benchmark-func.c \
$(BENCHMARK_LIB_$(BENCHMARK_LIB)) $(BENCHMARK_C_$(BENCHMARK_LIB))
-benchmark-zrand: bench/benchmark-zrand.c bench/benchmark.h libzahl.a
+benchmark-zrand: bench/benchmark-zrand.c bench/util.h libzahl.a
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ bench/benchmark-zrand.c libzahl.a
refsheet.pdf: doc/refsheet.tex
diff --git a/bench/benchmark-func.c b/bench/benchmark-func.c
@@ -1,4 +1,4 @@
-#include "benchmark.h"
+#include "util.h"
#include <limits.h>
diff --git a/bench/benchmark-zrand.c b/bench/benchmark-zrand.c
@@ -1,4 +1,4 @@
-#include "benchmark.h"
+#include "util.h"
#define BENCHMARK(INSTRUCTION, FAST)\
diff --git a/bench/benchmark.c b/bench/benchmark.c
@@ -1,4 +1,4 @@
-#include "benchmark.h"
+#include "util.h"
#define BENCHMARK(INSTRUCTION, FAST)\
diff --git a/bench/benchmark.h b/bench/util.h