- Timestamp:
 - May 6, 2020, 1:50:10 PM (6 years ago)
 - Branches:
 - ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
 - Children:
 - cb870e0
 - Parents:
 - 4385e8b
 - File:
 - 
      
- 1 edited
 
- 
          
  benchmark/io/readv.cfa (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
benchmark/io/readv.cfa
r4385e8b rcbabfd4 133 133 } 134 134 135 printf("Running %lu threads, reading %lu bytes each, over %lu processors for %lf seconds\n", buflen, nthreads, nprocs, duration);135 printf("Running %lu threads, reading %lu bytes each, over %lu processors for %lf seconds\n", nthreads, buflen, nprocs, duration); 136 136 137 137 { … … 160 160 } 161 161 printf("Took %'ld ms\n", (end - start)`ms); 162 printf("Total reads : %'zu\n", count);163 printf("Reads per second : %'.2lf\n", ((double)count) / (end - start)`s);164 printf("Total read size : %'zu\n", buflen * count);165 printf("Bytes per second : %'.2lf\n", ((double)count * buflen) / (end - start)`s);162 printf("Total reads : %'15zu\n", count); 163 printf("Reads per second : %'18.2lf\n", ((double)count) / (end - start)`s); 164 printf("Total read size : %'15zu\n", buflen * count); 165 printf("Bytes per second : %'18.2lf\n", ((double)count * buflen) / (end - start)`s); 166 166 } 167 167  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.