From 761470f9b51f2df8d25baf6060a7acfd333ba698 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 16 Nov 2008 02:47:07 +0000 Subject: Delete hardware.h, move prototype directly into cleanbench.c git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@64 0d43b9a7-5ab2-4d7b-af9d-f64450cef757 --- Makefile | 2 +- cleanbench.c | 4 +++- hardware.h | 2 -- 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 hardware.h diff --git a/Makefile b/Makefile index 44514f8..0d388d7 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC=gcc CFLAGS=-O3 -march=k8 -msse3 -ftree-vectorize -funroll-loops -pipe -static -Wunused #CC=icc -#CFLAGS=-O2 -ip -xP -gcc -static +#CFLAGS=-O3 -ipo -xP -gcc -static LINKFLAGS= OBJS=emfloat.o randnum.o hardware.o cleanbench.o numsort.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o diff --git a/cleanbench.c b/cleanbench.c index f2b8fd5..3d14e54 100644 --- a/cleanbench.c +++ b/cleanbench.c @@ -21,8 +21,10 @@ double DoHuffman(void); double DoNNET(void); double DoLU(void); +void hardware(void); + static bool bench_with_confidence(int benchmark, double* average, double* std_dev, int* runs); -static bool calc_confidence(double scores[], int runs, double *c_half_interval,double* average, double* std_dev); +static bool calc_confidence(double scores[], int runs, double* c_half_interval, double* average, double* std_dev); #define NUM_TESTS 10 diff --git a/hardware.h b/hardware.h deleted file mode 100644 index 5fe6c38..0000000 --- a/hardware.h +++ /dev/null @@ -1,2 +0,0 @@ -extern -void hardware(void); -- cgit v1.2.3