Settings to configure a benchmark run. More...
#include <atria/testing/benchmark.hpp>
Public Attributes | |
unsigned | iterations = 100 |
How many times the benchmark is run per measurement. More... | |
unsigned | measurements = 100 |
Number of measurements or attempts to make per benchmark. More... | |
std::size_t | size = 100 |
Amount of data to use in the benchmark. More... | |
bool | verbose = false |
Amount of data to use in the benchmark. More... | |
Detailed Description
Settings to configure a benchmark run.
Definition at line 83 of file benchmark.hpp.
Member Data Documentation
unsigned iterations = 100 |
How many times the benchmark is run per measurement.
This is needed because some operations might be too fast to be measurable at all.
Definition at line 90 of file benchmark.hpp.
unsigned measurements = 100 |
Number of measurements or attempts to make per benchmark.
The minimum time measured be reported.
Definition at line 96 of file benchmark.hpp.
std::size_t size = 100 |
Amount of data to use in the benchmark.
This is to be interpreted by the benchmark initialization code.
Definition at line 102 of file benchmark.hpp.
bool verbose = false |
Amount of data to use in the benchmark.
This is to be interpreted by the benchmark initialization code.
Definition at line 108 of file benchmark.hpp.
The documentation for this struct was generated from the following file:
- src/atria/testing/benchmark.hpp