aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/includes/benchmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/includes/benchmark.h')
-rw-r--r--hardinfo2/includes/benchmark.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/hardinfo2/includes/benchmark.h b/hardinfo2/includes/benchmark.h
new file mode 100644
index 00000000..27bcbf4c
--- /dev/null
+++ b/hardinfo2/includes/benchmark.h
@@ -0,0 +1,21 @@
+#ifndef __BENCHMARK_H__
+#define __BENCHMARK_H__
+
+#include "hardinfo.h"
+
+extern ProgramParameters params;
+
+enum {
+ BENCHMARK_BLOWFISH,
+ BENCHMARK_CRYPTOHASH,
+ BENCHMARK_FIB,
+ BENCHMARK_NQUEENS,
+ BENCHMARK_FFT,
+ BENCHMARK_RAYTRACE,
+ BENCHMARK_GUI,
+ BENCHMARK_N_ENTRIES
+} BenchmarkEntries;
+
+extern gdouble bench_results[BENCHMARK_N_ENTRIES];
+
+#endif /* __BENCHMARK_H__ */ \ No newline at end of file