We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a419d41 commit 8b9998fCopy full SHA for 8b9998f
infra/TaskManager.cpp
@@ -103,7 +103,7 @@ void TaskManager::Run(long long nEvents) {
103
104
if (verbosity_frequency_ > 0) {
105
const int verbosityPeriod = nEvents / verbosity_frequency_;
106
- const int vPlog = static_cast<int>(std::log10(verbosityPeriod));
+ const int vPlog = static_cast<int>(std::round(std::log10(verbosityPeriod)));
107
verbosity_period_ = static_cast<int>(std::pow(10, vPlog));
108
}
109
0 commit comments