}
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);
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);
}
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);
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);
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);
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);
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);