|
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. | |
| prec_t | totalRuntime = get_nan<prec_t>() |
| Total runtime over all runs and iterations. | |
| prec_t | averageRuntime = get_nan<prec_t>() |
| Estimated average runtime. | |
| prec_t | stdevRuntime = get_nan<prec_t>() |
| Sample standard deviation of the runtime. | |
| prec_t | runsPerSecond = get_nan<prec_t>() |
| Number of runs per second. | |
| uint64_t | seed = 0 |
| The seed used for randomized input generation. | |
| 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, prec_t > | additionalFields {} |
| Additional fields in floating point representation. | |
Structure holding the results of a benchmark.