summaryrefslogtreecommitdiff
path: root/includes/benchmark.h
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2018-10-21 00:42:31 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2018-11-04 15:02:46 -0800
commitd5d0607e4da1bde37fc0072c65689d2ed0775ed1 (patch)
treee0dfccc2a6e965870c9409e77e7bdfe4a8c5668a /includes/benchmark.h
parentf6299d9fad21c065d1e4c0f1093770835fb73adf (diff)
benchmark/blowfish: new version of blowfish benchmark
The new version uses a fixed time and provides variants for single-thread, multi-thread, and multi-core. A few results are included. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes/benchmark.h')
-rw-r--r--includes/benchmark.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/benchmark.h b/includes/benchmark.h
index 277f0c07..50f8da4b 100644
--- a/includes/benchmark.h
+++ b/includes/benchmark.h
@@ -6,7 +6,9 @@
extern ProgramParameters params;
enum {
- BENCHMARK_BLOWFISH,
+ BENCHMARK_BLOWFISH_SINGLE,
+ BENCHMARK_BLOWFISH_THREADS,
+ BENCHMARK_BLOWFISH_CORES,
BENCHMARK_CRYPTOHASH,
BENCHMARK_FIB,
BENCHMARK_NQUEENS,
@@ -17,7 +19,9 @@ enum {
BENCHMARK_N_ENTRIES
} BenchmarkEntries;
-void benchmark_bfish(void);
+void benchmark_bfish_single(void);
+void benchmark_bfish_threads(void);
+void benchmark_bfish_cores(void);
void benchmark_cryptohash(void);
void benchmark_fft(void);
void benchmark_fib(void);