cycles_calibration_min,
cycles_calibration_avg,
cycles_calibration_max);
+ printk("\n");
printk("** Single writer test, no contention **\n");
wbias_rwlock_profile_latency_reset();
BUG_ON(!writer_threads[0]);
ssleep(SINGLE_WRITER_TEST_DURATION);
kthread_stop(writer_threads[0]);
+ printk("\n");
wbias_rwlock_profile_latency_print();
BUG_ON(!trylock_writer_threads[0]);
ssleep(SINGLE_WRITER_TEST_DURATION);
kthread_stop(trylock_writer_threads[0]);
+ printk("\n");
wbias_rwlock_profile_latency_print();
BUG_ON(!reader_threads[0]);
ssleep(SINGLE_READER_TEST_DURATION);
kthread_stop(reader_threads[0]);
+ printk("\n");
wbias_rwlock_profile_latency_print();
ssleep(SINGLE_READER_TEST_DURATION);
for (i = 0; i < NR_READERS; i++)
kthread_stop(reader_threads[i]);
+ printk("\n");
wbias_rwlock_profile_latency_print();
perform_test("wbias-rwlock-create", wbias_rwlock_create);
ssleep(TEST_DURATION);
perform_test("wbias-rwlock-stop", wbias_rwlock_stop);
-
+ printk("\n");
wbias_rwlock_profile_latency_print();
return -EPERM;