diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-11-22 09:59:50 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-11-22 10:01:41 +0100 |
| commit | e0a9cb25b0af87723d50cb8d8cffa10f1ebf7dcc (patch) | |
| tree | c364b3a50ffbb06cff94102754da92729feada7e /src/test/versionbits_tests.cpp | |
| parent | Merge #9185: [Qt] fix coincontrol sort issue (diff) | |
| download | discoin-e0a9cb25b0af87723d50cb8d8cffa10f1ebf7dcc.tar.xz discoin-e0a9cb25b0af87723d50cb8d8cffa10f1ebf7dcc.zip | |
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%.
Diffstat (limited to 'src/test/versionbits_tests.cpp')
0 files changed, 0 insertions, 0 deletions