Added benchmark support
This commit is contained in:
parent
9660dfc7b3
commit
e6f199e4f4
18 changed files with 309 additions and 22 deletions
|
@ -86,7 +86,13 @@ int xmrig::App::exec()
|
|||
return 0;
|
||||
}
|
||||
|
||||
m_controller->start();
|
||||
m_controller->pre_start();
|
||||
|
||||
if (m_controller->config()->benchmark().isNewBenchRun() || m_controller->config()->isRebenchAlgo()) {
|
||||
m_controller->config()->benchmark().start(m_controller);
|
||||
} else {
|
||||
m_controller->start();
|
||||
}
|
||||
|
||||
const int r = uv_run(uv_default_loop(), UV_RUN_DEFAULT);
|
||||
uv_loop_close(uv_default_loop());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue