cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
|
Class of runners of benchmarks. More...
#include <stat_bench/runner/runner.h>
Public Member Functions | |
Runner (bench_impl::BenchmarkCaseRegistry ®istry=bench_impl::BenchmarkCaseRegistry::instance()) | |
Constructor. | |
Runner (const Config &config, bench_impl::BenchmarkCaseRegistry ®istry=bench_impl::BenchmarkCaseRegistry::instance()) | |
Constructor. | |
Runner (const Runner &)=delete | |
Runner (Runner &&)=delete | |
~Runner () | |
Destructor. | |
void | add (std::shared_ptr< measurer::IMeasurer > measurer) |
Add a measurer. | |
void | add (std::shared_ptr< reporter::IReporter > reporter) |
Add a reporter. | |
auto | operator= (const Runner &) -> Runner &=delete |
auto | operator= (Runner &&) -> Runner &=delete |
void | run () const |
Run benchmarks. | |
|
explicit |
Constructor.
[in] | config | Configuration. |
[in] | registry | Registry of benchmarks. |
Definition at line 48 of file runner.cpp.
|
explicit |
Constructor.
[in] | registry | Registry of benchmarks. |
Definition at line 97 of file runner.cpp.
|
inline |
|
inline |
void stat_bench::runner::Runner::run | ( | ) | const |
Run benchmarks.
Definition at line 102 of file runner.cpp.