diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-06-26 13:09:49 -0700 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2020-07-11 15:53:00 +0100 |
commit | d11f824991749c4b28c3c08ca737e82d0d9d01e6 (patch) | |
tree | 61634d397fb842ad511034eb40f0c9a524edab1b /hw | |
parent | 100a5efbbcffef50d187c045492bcd09d871845e (diff) | |
download | qemu-d11f824991749c4b28c3c08ca737e82d0d9d01e6.zip qemu-d11f824991749c4b28c3c08ca737e82d0d9d01e6.tar.gz qemu-d11f824991749c4b28c3c08ca737e82d0d9d01e6.tar.bz2 |
tests/qht-bench: Adjust testing rate by -1
Since the seed must be non-zero, subtracting 1 means puts the
rate in 0..UINT64_MAX-1, which allows the 0 and UINT64_MAX
thresholds to corrspond to 0% (never) and 100% (always).
Suggested-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200626200950.1015121-2-richard.henderson@linaro.org>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions