HomePhabricator

bench: Fix subtle counting issue when rescaling iteration count

Description

bench: Fix subtle counting issue when rescaling iteration count

Make sure that the count is a zero modulo the new mask before
scaling, otherwise the next time until a measure triggers
will take only 1/2 as long as accounted for. This caused
the 'min time' to be potentially off by as much as 100%.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Nov 22 2016, 08:59
deadalnixPushed on May 14 2017, 22:04
Parents
rABCe4dbeb94998d: Merge #9185: [Qt] fix coincontrol sort issue
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABCe0a9cb25b0af: bench: Fix subtle counting issue when rescaling iteration count (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Nov 22 2016, 09:01