|
OPTK
0.1.2
Toolkit for global optimisation algorithms
|
#include <benchmark.hpp>
Public Member Functions | |
| ~benchmarks () | |
| void | register_benchmark (benchmark_set *b) |
| optk::bench_list * | collection () |
Private Attributes | |
| bench_list | m_arr |
This represents a collection of benchmarks; either all those known to OPTK, or a subset of those such as those selected by a user from command line arguments.
| optk::benchmarks::~benchmarks | ( | ) |
This destructor will free the memory for any registered benchmark sets.
| optk::bench_list * optk::benchmarks::collection | ( | ) |
| void optk::benchmarks::register_benchmark | ( | optk::benchmark_set * | b | ) |
The reigster function allows you to tell the main runner about the existence of a benchmark.
| b | The benchmark to register |
|
private |
The array of benchmarks in this collection
1.8.13