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 7d37795 commit 3205b96Copy full SHA for 3205b96
src/benchmark_runner.cc
@@ -325,7 +325,7 @@ IterationCount BenchmarkRunner::PredictNumItersNeeded(
325
326
// So what seems to be the sufficiently-large iteration count? Round up.
327
const IterationCount max_next_iters = static_cast<IterationCount>(
328
- std::lround(std::max(multiplier * static_cast<double>(i.iters),
+ std::llround(std::max(multiplier * static_cast<double>(i.iters),
329
static_cast<double>(i.iters) + 1.0)));
330
// But we do have *some* limits though..
331
const IterationCount next_iters = std::min(max_next_iters, kMaxIterations);
0 commit comments