update test
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 21 Aug 2008 06:32:59 +0000 (06:32 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 21 Aug 2008 06:32:59 +0000 (06:32 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3051 04897980-b3bd-0310-b5e0-8ef037075253

trunk/tests/kernel/test-wbias-rwlock.c

index 4a42a07be7ad15657e2140101dbbcc857f9fb5a0..eb4f99b1a2208273f5746fc0c431e141b6e44835 100644 (file)
@@ -418,7 +418,8 @@ static int interrupt_reader_thread(void *data)
        for_each_online_cpu(i) {
                if (!per_cpu(int_ipi_nr, i))
                        continue;
-               per_cpu(int_delayavg, i) /= per_cpu(int_ipi_nr, i);
+               per_cpu(int_ldelayavg, i) /= per_cpu(int_ipi_nr, i);
+               per_cpu(int_udelayavg, i) /= per_cpu(int_ipi_nr, i);
                printk("interrupt readers on CPU %i, "
                        "lock delay [min,avg,max] %llu,%llu,%llu cycles\n",
                        i,
@@ -514,9 +515,9 @@ static int writer_thread(void *data)
        printk("writer_thread/%lu iterations : %lu, "
                "lock delay [min,avg,max] %llu,%llu,%llu cycles\n",
                (unsigned long)data, iter,
-               calibrate_cycles(delaymin),
-               calibrate_cycles(delayavg),
-               calibrate_cycles(delaymax));
+               calibrate_cycles(ldelaymin),
+               calibrate_cycles(ldelayavg),
+               calibrate_cycles(ldelaymax));
        printk("writer_thread/%lu iterations : %lu, "
                "unlock delay [min,avg,max] %llu,%llu,%llu cycles\n",
                (unsigned long)data, iter,
This page took 0.0244 seconds and 4 git commands to generate.