1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-19 12:12:46 -05:00

Improved MO benchmark logic

This commit is contained in:
MoneroOcean
2024-05-27 22:30:27 -07:00
parent 69b5f93a1b
commit a936d10725
3 changed files with 90 additions and 120 deletions

View File

@@ -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();
}