From 4a3e0004ec4c2eccf3b9954ec5c781e0714dd5e3 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 18 Jun 2009 09:36:35 -0400 Subject: [PATCH] Update summary Signed-off-by: Mathieu Desnoyers --- test_qsbr_gc.c | 7 ++++--- test_urcu_gc.c | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/test_qsbr_gc.c b/test_qsbr_gc.c index ccdf593..0b34ece 100644 --- a/test_qsbr_gc.c +++ b/test_qsbr_gc.c @@ -70,7 +70,7 @@ static unsigned long duration; /* read-side C.S. duration, in loops */ static unsigned long rduration; -static int reclaim_batch = 1; +static unsigned int reclaim_batch = 1; struct reclaim_queue { void **queue; /* Beginning of queue */ @@ -426,10 +426,11 @@ int main(int argc, char **argv) tot_writes); printf("SUMMARY %-25s testdur %4lu nr_readers %3u rdur %6lu " "nr_writers %3u " - "wdelay %6lu nr_reads %12llu nr_writes %12llu nr_ops %12llu\n", + "wdelay %6lu nr_reads %12llu nr_writes %12llu nr_ops %12llu " + "batch %u\n", argv[0], duration, nr_readers, rduration, nr_writers, wdelay, tot_reads, tot_writes, - tot_reads + tot_writes); + tot_reads + tot_writes, reclaim_batch); free(tid_reader); free(tid_writer); free(count_reader); diff --git a/test_urcu_gc.c b/test_urcu_gc.c index 328b570..d8dc709 100644 --- a/test_urcu_gc.c +++ b/test_urcu_gc.c @@ -70,7 +70,7 @@ static unsigned long wdelay; static struct test_array *test_rcu_pointer; -static int reclaim_batch = 1; +static unsigned int reclaim_batch = 1; struct reclaim_queue { void **queue; /* Beginning of queue */ @@ -427,10 +427,11 @@ int main(int argc, char **argv) tot_writes); printf("SUMMARY %-25s testdur %4lu nr_readers %3u rdur %6lu " "nr_writers %3u " - "wdelay %6lu nr_reads %12llu nr_writes %12llu nr_ops %12llu\n", + "wdelay %6lu nr_reads %12llu nr_writes %12llu nr_ops %12llu " + "batch %u\n", argv[0], duration, nr_readers, rduration, nr_writers, wdelay, tot_reads, tot_writes, - tot_reads + tot_writes); + tot_reads + tot_writes, reclaim_batch); free(tid_reader); free(tid_writer); free(count_reader); -- 2.34.1