mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-11 17:32:47 -05:00
Check and save any autosized algos before launching the moBenchmark
This commit is contained in:
@@ -90,6 +90,9 @@ int xmrig::App::exec()
|
||||
m_controller->config()->benchmark().set_controller(m_controller);
|
||||
|
||||
if (m_controller->config()->benchmark().isNewBenchRun() || m_controller->config()->isRebenchAlgo()) {
|
||||
if (m_controller->config()->isShouldSave()) {
|
||||
m_controller->config()->save();
|
||||
}
|
||||
m_controller->config()->benchmark().start();
|
||||
} else {
|
||||
m_controller->start();
|
||||
|
||||
Reference in New Issue
Block a user