aboutsummaryrefslogtreecommitdiff
path: root/tests/qht-bench.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-10-20 18:46:28 -0400
committerRichard Henderson <richard.henderson@linaro.org>2018-12-17 06:04:44 +0300
commitc971d8fa73ff92996d751fa87d90f220cf3c8194 (patch)
tree2827236171c665c6a5e9b02f47800af49349c15c /tests/qht-bench.c
parente132fde25f309bc560d8a29a764142654d44d996 (diff)
downloadqemu-c971d8fa73ff92996d751fa87d90f220cf3c8194.zip
qemu-c971d8fa73ff92996d751fa87d90f220cf3c8194.tar.gz
qemu-c971d8fa73ff92996d751fa87d90f220cf3c8194.tar.bz2
exec: introduce qemu_xxhash{2,4,5,6,7}
Before moving them all to include/qemu/xxhash.h. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tests/qht-bench.c')
-rw-r--r--tests/qht-bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qht-bench.c b/tests/qht-bench.c
index 636750d..0278f4d 100644
--- a/tests/qht-bench.c
+++ b/tests/qht-bench.c
@@ -105,7 +105,7 @@ static bool is_equal(const void *ap, const void *bp)
static uint32_t h(unsigned long v)
{
- return tb_hash_func7(v, 0, 0, 0, 0);
+ return qemu_xxhash2(v);
}
static uint32_t hval(unsigned long v)