mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05:00
Fixed benchmark progress logging.
This commit is contained in:
@@ -57,5 +57,5 @@ void xmrig::Benchmark::printProgress() const
|
|||||||
const double dt = static_cast<double>(Chrono::steadyMSecs() - m_startTime) / 1000.0;
|
const double dt = static_cast<double>(Chrono::steadyMSecs() - m_startTime) / 1000.0;
|
||||||
const double percent = static_cast<double>(m_current) / BenchState::size() * 100.0;
|
const double percent = static_cast<double>(m_current) / BenchState::size() * 100.0;
|
||||||
|
|
||||||
LOG_NOTICE("%s " MAGENTA_BOLD("%5.2f%% ") CYAN_BOLD("%" PRIu64) CYAN("/%" PRIu64) BLACK_BOLD(" (%.3fs)"), Tags::bench(), percent, m_current, BenchState::size(), dt);
|
LOG_NOTICE("%s " MAGENTA_BOLD("%5.2f%% ") CYAN_BOLD("%" PRIu64) CYAN("/%u") BLACK_BOLD(" (%.3fs)"), Tags::bench(), percent, m_current, BenchState::size(), dt);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user