From 4e4c24ba63e2b9b020e2fab0c8f40f5c98ab99d1 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Tue, 17 Dec 2013 14:31:34 -0500 Subject: [PATCH] regressions: Additional ck_hs_gc coverage. --- regressions/ck_hs/benchmark/serial.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/regressions/ck_hs/benchmark/serial.c b/regressions/ck_hs/benchmark/serial.c index 4bb6ca1..995ef1c 100644 --- a/regressions/ck_hs/benchmark/serial.c +++ b/regressions/ck_hs/benchmark/serial.c @@ -434,6 +434,12 @@ run_test(const char *file, size_t r, unsigned int size, unsigned int mode) } su = a / (r * keys_length); + for (i = 0; i < keys_length; i++) + set_insert_unique(keys[i]); + + for (i = 0; i < keys_length / 2; i++) + set_remove(keys[i]); + a = 0; for (j = 0; j < r; j++) { s = rdtsc();