Print detailed information about OpenCL threads.

This commit is contained in:
XMRig 2019-09-05 13:00:40 +07:00
parent 1ad30d50a6
commit 0e362f38bc
4 changed files with 38 additions and 9 deletions

View file

@ -67,8 +67,8 @@ static cl_program createFromSource(const IOclRunner *runner)
return nullptr;
}
LOG_INFO("%s GPU " WHITE_BOLD("#%zu") " " GREEN_BOLD("compilation completed") BLACK_BOLD( " (%.3fs)"),
tag, runner->data().device.index(), (Chrono::steadyMSecs() - ts) / 1000.0);
LOG_INFO("%s GPU " WHITE_BOLD("#%zu") " " GREEN_BOLD("compilation completed") BLACK_BOLD(" (%" PRIu64 " ms)"),
tag, runner->data().device.index(), Chrono::steadyMSecs() - ts);
return program;
}