mirror of
https://github.com/xmrig/xmrig.git
synced 2026-06-24 20:42:39 -04:00
Improved MO benchmark logic
This commit is contained in:
@@ -95,7 +95,10 @@ int xmrig::App::exec()
|
||||
if (m_controller->config()->isShouldSave()) {
|
||||
m_controller->config()->save();
|
||||
}
|
||||
m_controller->config()->benchmark().start();
|
||||
if (m_controller->config()->isRebenchAlgo()) {
|
||||
m_controller->config()->benchmark().flush_perf();
|
||||
}
|
||||
m_controller->config()->benchmark().start_perf();
|
||||
} else {
|
||||
m_controller->start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user