Update summary
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 18 Jun 2009 13:36:35 +0000 (09:36 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 18 Jun 2009 13:36:35 +0000 (09:36 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
test_qsbr_gc.c
test_urcu_gc.c

index ccdf593290967dc2ec89c6ac87768616c5803c71..0b34ecec11e035385a6af45a968526483c564f09 100644 (file)
@@ -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);
index 328b570fa4d2e5219e1adb5afb644c4fb3a827ad..d8dc70952817f61ceb13ab1cb0ec6b737c4ba02e 100644 (file)
@@ -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);
This page took 0.02787 seconds and 4 git commands to generate.