diff options
author | lloyd <[email protected]> | 2010-07-30 16:20:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-07-30 16:20:46 +0000 |
commit | b067a61fe565161c2915cfddf316cbb45849f461 (patch) | |
tree | 93d359dec61f6dbfb42e76d76b2762892c29cae7 /checks/bench.h | |
parent | 6d5b7413ea1873670a2710db70bfb5938dddd4b3 (diff) |
Add a new option for benchmarking --buf-size which specifies the size of
the buffer (in KiB) to process.
Diffstat (limited to 'checks/bench.h')
-rw-r--r-- | checks/bench.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/checks/bench.h b/checks/bench.h index 835db0101..b423a2215 100644 --- a/checks/bench.h +++ b/checks/bench.h @@ -6,11 +6,13 @@ #include <string> void benchmark(Botan::RandomNumberGenerator& rng, - double seconds); + double seconds, + u32bit buf_size); bool bench_algo(const std::string& algo_name, Botan::RandomNumberGenerator& rng, - double seconds); + double seconds, + u32bit buf_size); void bench_pk(Botan::RandomNumberGenerator&, const std::string&, double seconds); |