1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-13 10:02:50 -05:00
This commit is contained in:
MoneroOcean
2018-08-06 11:01:10 +02:00
parent feeb226507
commit bd56b8892c
2 changed files with 2 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ int App::exec()
m_controller->config()->calibrateAlgoTime()
);
// 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);
} else {
m_controller->network()->connect();

View File

@@ -46,6 +46,6 @@ class Benchmark : public IJobResultListener {
virtual ~Benchmark() {}
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
};