Print reader duration
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 12 Jun 2009 17:52:29 +0000 (13:52 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 12 Jun 2009 17:52:29 +0000 (13:52 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
test_mutex.c
test_perthreadlock.c
test_qsbr.c
test_rwlock.c
test_urcu.c

index 6fd1746a1c03e35132cbdd34558befb97a5814a0..82d11c555c146248bbad89683b0a3efb8abe37c4 100644 (file)
@@ -276,6 +276,7 @@ int main(int argc, char **argv)
        printf("running test for %lu seconds, %u readers, %u writers.\n",
                duration, nr_readers, nr_writers);
        printf("Writer delay : %u us.\n", wdelay);
+       printf("Reader duration : %lu loops.\n", rduration);
        printf("thread %-6s, thread id : %lx, tid %lu\n",
                        "main", pthread_self(), (unsigned long)gettid());
 
index 0fc45d9e3b82e0ce1fb76046917ebce8174a2d8f..2c95590170dc63fdadcf0b493b88554582fa5aba 100644 (file)
@@ -285,6 +285,7 @@ int main(int argc, char **argv)
        printf("running test for %lu seconds, %u readers, %u writers.\n",
                duration, nr_readers, nr_writers);
        printf("Writer delay : %u us.\n", wdelay);
+       printf("Reader duration : %lu loops.\n", rduration);
        printf("thread %-6s, thread id : %lx, tid %lu\n",
                        "main", pthread_self(), (unsigned long)gettid());
 
index 488c9041b1aae96d267aa6ea8e3ec4f027fc3032..35294430eb8665b0f607cbab90f3f3681fcfb4bb 100644 (file)
@@ -323,6 +323,7 @@ int main(int argc, char **argv)
        printf("running test for %lu seconds, %u readers, %u writers.\n",
                duration, nr_readers, nr_writers);
        printf("Writer delay : %u us.\n", wdelay);
+       printf("Reader duration : %lu loops.\n", rduration);
        printf("thread %-6s, thread id : %lx, tid %lu\n",
                        "main", pthread_self(), (unsigned long)gettid());
 
index a6f31e31f1e7328de9a0dc2303c5591b2f2b41db..ec2ca6e6a95c170026c5fd05e9eaf693947b83f2 100644 (file)
@@ -273,6 +273,7 @@ int main(int argc, char **argv)
        printf("running test for %lu seconds, %u readers, %u writers.\n",
                duration, nr_readers, nr_writers);
        printf("Writer delay : %u us.\n", wdelay);
+       printf("Reader duration : %lu loops.\n", rduration);
        printf("thread %-6s, thread id : %lx, tid %lu\n",
                        "main", pthread_self(), (unsigned long)gettid());
        if (use_affinity
index fe469284ef1122f864ed9bb467ef49997cbb1afa..fb39d42d1bb56c8e78ecc68ec75c5747026dc59c 100644 (file)
@@ -324,6 +324,7 @@ int main(int argc, char **argv)
        printf("running test for %lu seconds, %u readers, %u writers.\n",
                duration, nr_readers, nr_writers);
        printf("Writer delay : %u us.\n", wdelay);
+       printf("Reader duration : %lu loops.\n", rduration);
        printf("thread %-6s, thread id : %lx, tid %lu\n",
                        "main", pthread_self(), (unsigned long)gettid());
 
This page took 0.026968 seconds and 4 git commands to generate.