benchmark_suite< InitFnT > Class Template Reference
A suite of benchmarks. More...
#include <atria/testing/benchmark.hpp>
Public Member Functions | |
| benchmark_suite (std::string name, InitFnT init_fn, benchmark_settings settings) | |
| template<typename TestT > | |
| benchmark_suite & | operator() (std::string name, TestT test) |
Detailed Description
template<typename InitFnT = void>
class atria::testing::benchmark_suite< InitFnT >
A suite of benchmarks.
It runs all benchmarks defined with the call () operator and prints the results to the command line on destruction.
- See also
- benchmark_runner for more details on how to use it.
Definition at line 168 of file benchmark.hpp.
The documentation for this class was generated from the following file:
- src/atria/testing/benchmark.hpp

1.8.10