update test
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 19 Aug 2008 18:27:59 +0000 (18:27 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 19 Aug 2008 18:27:59 +0000 (18:27 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3036 04897980-b3bd-0310-b5e0-8ef037075253

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

index de38c7a89c325cf46f26ce52a05daecd3b0f3d2e..86b77c05446a42096cbe7af2994943ece7dea3eb 100644 (file)
@@ -614,6 +614,7 @@ static int my_open(struct inode *inode, struct file *file)
                cycles_calibration_min,
                cycles_calibration_avg,
                cycles_calibration_max);
+       printk("\n");
 
        printk("** Single writer test, no contention **\n");
        wbias_rwlock_profile_latency_reset();
@@ -622,6 +623,7 @@ static int my_open(struct inode *inode, struct file *file)
        BUG_ON(!writer_threads[0]);
        ssleep(SINGLE_WRITER_TEST_DURATION);
        kthread_stop(writer_threads[0]);
+       printk("\n");
 
        wbias_rwlock_profile_latency_print();
 
@@ -633,6 +635,7 @@ static int my_open(struct inode *inode, struct file *file)
        BUG_ON(!trylock_writer_threads[0]);
        ssleep(SINGLE_WRITER_TEST_DURATION);
        kthread_stop(trylock_writer_threads[0]);
+       printk("\n");
 
        wbias_rwlock_profile_latency_print();
 
@@ -643,6 +646,7 @@ static int my_open(struct inode *inode, struct file *file)
        BUG_ON(!reader_threads[0]);
        ssleep(SINGLE_READER_TEST_DURATION);
        kthread_stop(reader_threads[0]);
+       printk("\n");
 
        wbias_rwlock_profile_latency_print();
 
@@ -657,6 +661,7 @@ static int my_open(struct inode *inode, struct file *file)
        ssleep(SINGLE_READER_TEST_DURATION);
        for (i = 0; i < NR_READERS; i++)
                kthread_stop(reader_threads[i]);
+       printk("\n");
 
        wbias_rwlock_profile_latency_print();
 
@@ -665,7 +670,7 @@ static int my_open(struct inode *inode, struct file *file)
        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;
This page took 0.024021 seconds and 4 git commands to generate.