HEBench
|
Provides facilities to configure the selection of benchmarks to run based on the supported workloads from a loaded backend. More...
#include <hebench_config.h>
Public Member Functions | |
BenchmarkConfigBroker (std::weak_ptr< hebench::TestHarness::Engine > wp_engine, std::uint64_t random_seed=0, const std::string s_backend=std::string()) | |
void | exportConfiguration (const std::string &yaml_filename, const BenchmarkSession &bench_configs) const |
BenchmarkSession | importConfiguration (const BenchmarkConfigLoader &loader) const |
Imports a benchmark configuration from a configurator loader. More... | |
const BenchmarkSession & | getDefaultConfiguration () const |
Provides facilities to configure the selection of benchmarks to run based on the supported workloads from a loaded backend.
Definition at line 103 of file hebench_config.h.
hebench::Utilities::BenchmarkConfigBroker::BenchmarkConfigBroker | ( | std::weak_ptr< hebench::TestHarness::Engine > | wp_engine, |
std::uint64_t | random_seed = 0 , |
||
const std::string | s_backend = std::string() |
||
) |
Definition at line 555 of file hebench_config.cpp.
void hebench::Utilities::BenchmarkConfigBroker::exportConfiguration | ( | const std::string & | yaml_filename, |
const BenchmarkSession & | bench_configs | ||
) | const |
Definition at line 590 of file hebench_config.cpp.
|
inline |
Definition at line 122 of file hebench_config.h.
BenchmarkSession hebench::Utilities::BenchmarkConfigBroker::importConfiguration | ( | const BenchmarkConfigLoader & | loader | ) | const |
Imports a benchmark configuration from a configurator loader.
[in] | loader | A BenchmarkConfigLoader initialized with the yaml information from the desired configuration file. |
Definition at line 739 of file hebench_config.cpp.