diff options
Diffstat (limited to 'src/benchmark/benchmark.h')
-rw-r--r-- | src/benchmark/benchmark.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/benchmark/benchmark.h b/src/benchmark/benchmark.h index 93224dd2e..40784a767 100644 --- a/src/benchmark/benchmark.h +++ b/src/benchmark/benchmark.h @@ -50,6 +50,9 @@ BOTAN_DLL algorithm_benchmark(const std::string& name, std::chrono::milliseconds milliseconds, size_t buf_size); +double BOTAN_DLL +time_op(std::chrono::nanoseconds runtime, std::function<void ()> op); + } #endif |