mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
performance_tests: initialize logging at startup
This commit is contained in:
parent
99ee3fd17e
commit
962c72b624
@ -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 New Issue
Block a user