#include <hebench_benchmark_factory.h>
Definition at line 24 of file hebench_benchmark_factory.h.
◆ matchBenchmarkDescriptor()
Returns a token representing a benchmark that can perform the described workload with specified parameters, if any.
- Parameters
-
[in] | engine | Engine requesting the matching. |
[in] | backend_desc | Backend descriptor to match. |
[in] | config | Configuration of benchmark to match. |
- Returns
- A valid token representing the matched benchmark.
-
null
if no match was found.
Definition at line 76 of file hebench_benchmark_factory.cpp.
◆ registerSupportedBenchmark()
bool hebench::TestHarness::BenchmarkFactory::registerSupportedBenchmark |
( |
std::shared_ptr< IBenchmarkDescriptor > |
p_desc_obj | ) |
|
|
static |
Registers a benchmark description object that represents one of the supported workloads.
- Parameters
-
[in] | p_desc_obj | Smart pointer to benchmark description object to register. |
- Returns
true
if registration is successful.
-
false
otherwise.
This method should be called for each benchmark during static initialization to register the benchmark description before the application main entry-point is reached.
This method does not throw exceptions.
Definition at line 90 of file hebench_benchmark_factory.cpp.
◆ Engine
The documentation for this class was generated from the following files: