|
UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
|
#include <benchmark_harness.hpp>
Public Member Functions | |
| Harness ()=default | |
| Harness (int warmup, std::size_t p) | |
| template<typename Func > | |
| double | run (int iters, Func &&func) const |
| template<typename Func > | |
| Stats | run_stats (int iters, Func &&func) const |
| template<typename Func > | |
| double | run_and_print (const char *name, int iters, Func &&func) const |
| void | print_config () const |
Public Attributes | |
| int | warmup_iters = 500 |
| std::size_t | passes = 11 |
Definition at line 286 of file benchmark_harness.hpp.
|
default |
|
inline |
Definition at line 292 of file benchmark_harness.hpp.
|
inline |
Definition at line 340 of file benchmark_harness.hpp.
References passes, bench::Timer::timer_name(), and warmup_iters.
|
inline |
Definition at line 297 of file benchmark_harness.hpp.
References bench::Stats::median_ns, and run_stats().
|
inline |
Definition at line 331 of file benchmark_harness.hpp.
References bench::Stats::median_ns, bench::Stats::min_ns, bench::Stats::outliers, run_stats(), bench::Stats::samples, and bench::Stats::stddev_ns.
|
inline |
Definition at line 303 of file benchmark_harness.hpp.
References bench::ClobberMemory(), bench::compute_stats(), bench::Timer::now(), passes, bench::Timer::ticks_to_ns(), and warmup_iters.
Referenced by run(), and run_and_print().
| std::size_t bench::Harness::passes = 11 |
Definition at line 289 of file benchmark_harness.hpp.
Referenced by print_config(), and run_stats().
| int bench::Harness::warmup_iters = 500 |
Definition at line 288 of file benchmark_harness.hpp.
Referenced by print_config(), and run_stats().