Set benchmark controller even if no benchmark run is executed
This commit is contained in:
parent
c0fec3db63
commit
e23d3c431b
3 changed files with 5 additions and 4 deletions
|
@ -67,9 +67,10 @@ class Benchmark : public IJobResultListener {
|
|||
|
||||
public:
|
||||
Benchmark() : m_controller(nullptr), m_isNewBenchRun(true) {}
|
||||
void set_controller(Controller* controller) { m_controller = controller; }
|
||||
virtual ~Benchmark() {}
|
||||
|
||||
void start(Controller* controller); // start benchmarks
|
||||
void start(); // start benchmarks
|
||||
|
||||
bool isNewBenchRun() const { return m_isNewBenchRun; }
|
||||
float algo_perf[Algorithm::MAX];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue