aboutsummaryrefslogtreecommitdiffstats
path: root/src/benchmark/benchmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmark/benchmark.h')
-rw-r--r--src/benchmark/benchmark.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/benchmark/benchmark.h b/src/benchmark/benchmark.h
index c47fdc166..17df85e4e 100644
--- a/src/benchmark/benchmark.h
+++ b/src/benchmark/benchmark.h
@@ -1,6 +1,6 @@
/*
* Runtime benchmarking
-* (C) 2008 Jack Lloyd
+* (C) 2008-2009 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
@@ -12,6 +12,7 @@
#include <botan/rng.h>
#include <map>
#include <string>
+#include <chrono>
namespace Botan {
@@ -28,7 +29,7 @@ std::map<std::string, double>
BOTAN_DLL algorithm_benchmark(const std::string& name,
Algorithm_Factory& af,
RandomNumberGenerator& rng,
- u32bit milliseconds,
+ std::chrono::milliseconds milliseconds,
size_t buf_size);
}