Typo fix
This commit is contained in:
parent
feeb226507
commit
bd56b8892c
2 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ int App::exec()
|
||||||
m_controller->config()->calibrateAlgoTime()
|
m_controller->config()->calibrateAlgoTime()
|
||||||
);
|
);
|
||||||
// start benchmarking from first PerfAlgo in the list
|
// start benchmarking from first PerfAlgo in the list
|
||||||
if (m_controller->config()->get_algo_perf(xmrig::PA_CN) == 0.0f) benchmark.shoud_save_config();
|
if (m_controller->config()->get_algo_perf(xmrig::PA_CN) == 0.0f) benchmark.should_save_config();
|
||||||
benchmark.start_perf_bench(xmrig::PerfAlgo::PA_CN);
|
benchmark.start_perf_bench(xmrig::PerfAlgo::PA_CN);
|
||||||
} else {
|
} else {
|
||||||
m_controller->network()->connect();
|
m_controller->network()->connect();
|
||||||
|
|
|
@ -46,6 +46,6 @@ class Benchmark : public IJobResultListener {
|
||||||
virtual ~Benchmark() {}
|
virtual ~Benchmark() {}
|
||||||
|
|
||||||
void set_controller(xmrig::Controller* controller) { m_controller = controller; }
|
void set_controller(xmrig::Controller* controller) { m_controller = controller; }
|
||||||
void shoud_save_config() { m_shouldSaveConfig = true; }
|
void should_save_config() { m_shouldSaveConfig = true; }
|
||||||
void start_perf_bench(const xmrig::PerfAlgo); // start benchmark for specified perf algo
|
void start_perf_bench(const xmrig::PerfAlgo); // start benchmark for specified perf algo
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue