mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-11 17:32:47 -05:00
Set benchmark controller even if no benchmark run is executed
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user