Theoretica
A C++ numerical and automatic mathematical library
|
A structure holding the options of a benchmark. More...
#include <benchmark_structures.h>
Public Member Functions | |
benchmark_options () | |
Default constructor for benchmark options. | |
benchmark_options (unsigned int runs, unsigned int iterations, bool quiet=false) | |
Construct benchmark options from the number of runs and iterations and whether to print the case to output (defaults to false). | |
benchmark_options (unsigned int runs, unsigned int iterations, InputGenerator< InputType > gen, bool quiet=false) | |
Construct benchmark options from the number of runs and iterations, the input generator to use and whether to write the result to output. | |
Public Attributes | |
unsigned int | runs = CHEBYSHEV_BENCHMARK_RUNS |
Number of runs (run with the same input values). | |
unsigned int | iterations = CHEBYSHEV_BENCHMARK_ITER |
Number of iterations. | |
InputGenerator< InputType > | inputGenerator = generator::uniform1D(0, 1) |
The function to use to generate input for the benchmark. | |
bool | quiet = false |
Whether to print to standard output or not. | |
A structure holding the options of a benchmark.