summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-16 02:47:07 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-16 02:47:07 +0000
commit761470f9b51f2df8d25baf6060a7acfd333ba698 (patch)
tree558196b2821bef0d9a9e517ec45d1c3151a17497
parent2861edd74c9c21fb98da6fafe38718126a0bd99f (diff)
Delete hardware.h, move prototype directly into cleanbench.c
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@64 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
-rw-r--r--Makefile2
-rw-r--r--cleanbench.c4
-rw-r--r--hardware.h2
3 files changed, 4 insertions, 4 deletions
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);