Chebyshev
Unit testing for scientific software
|
Structure holding the results of a benchmark. More...
#include <benchmark_structures.h>
Public Attributes | |
std::string | name = "unknown" |
Identifying name of the function or test case. | |
unsigned int | runs = 0 |
Number of runs. | |
unsigned int | iterations = 0 |
Number of iterations. | |
long double | totalRuntime = get_nan<long double>() |
Total runtime over all runs and iterations. | |
long double | averageRuntime = get_nan<long double>() |
Estimated average runtime. | |
long double | stdevRuntime = get_nan<long double>() |
Sample standard deviation of the runtime. | |
long double | runsPerSecond = get_nan<long double>() |
Number of runs per second. | |
bool | failed = true |
Whether the benchmark failed because an exception was thrown. | |
bool | quiet = false |
Whether to print to standard output or not. | |
std::map< std::string, long double > | additionalFields {} |
Additional fields in floating point representation. | |
Structure holding the results of a benchmark.