Improved MO benchmark logic
This commit is contained in:
parent
69b5f93a1b
commit
a936d10725
3 changed files with 90 additions and 120 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue