From d5d0607e4da1bde37fc0072c65689d2ed0775ed1 Mon Sep 17 00:00:00 2001 From: Burt P Date: Sun, 21 Oct 2018 00:42:31 -0500 Subject: 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 --- includes/benchmark.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'includes/benchmark.h') 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); -- cgit v1.2.3