projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Align the summary result
[urcu.git]
/
test_perthreadlock.c
diff --git
a/test_perthreadlock.c
b/test_perthreadlock.c
index 3d1d9ec1e46581d62d22614223672d9f2cc914d7..e142975ebb5082b4355fcdfcb1a36be6239e76c4 100644
(file)
--- a/
test_perthreadlock.c
+++ b/
test_perthreadlock.c
@@
-160,7
+160,7
@@
void *thr_reader(void *data)
}
tot_nr_reads[tidx] = nr_reads;
}
tot_nr_reads[tidx] = nr_reads;
- printf("thread_end %s, thread id : %lx, tid %lu\n",
+ printf
_verbose
("thread_end %s, thread id : %lx, tid %lu\n",
"reader", pthread_self(), (unsigned long)gettid());
return ((void*)1);
"reader", pthread_self(), (unsigned long)gettid());
return ((void*)1);
@@
-351,8
+351,9
@@
int main(int argc, char **argv)
printf_verbose("total number of reads : %llu, writes %llu\n", tot_reads,
tot_writes);
printf_verbose("total number of reads : %llu, writes %llu\n", tot_reads,
tot_writes);
- printf("SUMMARY %s testdur %lu nr_readers %u rdur %lu nr_writers %u "
- "wdelay %u nr_reads %llu nr_writes %llu nr_ops %llu\n",
+ printf("SUMMARY %-15s testdur %4lu nr_readers %3u rdur %6lu "
+ "nr_writers %3u "
+ "wdelay %4u nr_reads %12llu nr_writes %12llu nr_ops %12llu\n",
argv[0], duration, nr_readers, rduration,
nr_writers, wdelay, tot_reads, tot_writes,
tot_reads + tot_writes);
argv[0], duration, nr_readers, rduration,
nr_writers, wdelay, tot_reads, tot_writes,
tot_reads + tot_writes);
This page took
0.022788 seconds
and
4
git commands to generate.