mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 03:03:17 +00:00
performance_tests: initialize logging at startup
This commit is contained in:
parent
99ee3fd17e
commit
962c72b624
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ int main(int argc, char** argv)
|
||||||
set_process_affinity(1);
|
set_process_affinity(1);
|
||||||
set_thread_high_priority();
|
set_thread_high_priority();
|
||||||
|
|
||||||
|
mlog_configure(mlog_get_default_log_path("performance_tests.log"), true);
|
||||||
|
mlog_set_log_level(0);
|
||||||
|
|
||||||
performance_timer timer;
|
performance_timer timer;
|
||||||
timer.start();
|
timer.start();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue