- File:
-
- 1 edited
-
libcfa/src/concurrency/stats.cfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.cfa
r74227c6 r7ce8873 48 48 stats->io.submit.eagr = 0; 49 49 stats->io.submit.nblk = 0; 50 stats->io.submit.extr = 0;51 50 stats->io.flush.external = 0; 52 stats->io.flush.signal = 0;53 51 stats->io.flush.dirty = 0; 54 52 stats->io.flush.full = 0; … … 122 120 tally_one( &cltr->io.submit.eagr , &proc->io.submit.eagr ); 123 121 tally_one( &cltr->io.submit.nblk , &proc->io.submit.nblk ); 124 tally_one( &cltr->io.submit.extr , &proc->io.submit.extr );125 122 tally_one( &cltr->io.flush.external , &proc->io.flush.external ); 126 tally_one( &cltr->io.flush.signal , &proc->io.flush.signal );127 123 tally_one( &cltr->io.flush.dirty , &proc->io.flush.dirty ); 128 124 tally_one( &cltr->io.flush.full , &proc->io.flush.full ); … … 203 199 if(io.alloc.slow) { 204 200 double avgfasts = (100.0 * (double)io.submit.fast) / total_submits; 205 sstr | "fast," | eng3(io.submit.slow) | "slow (" | ws(3, 3, avgfasts) | "%) ," | eng3(io.submit.extr) | "external" | nonl;201 sstr | "fast," | eng3(io.submit.slow) | "slow (" | ws(3, 3, avgfasts) | "%)" | nonl; 206 202 } 207 203 sstr | " - eager" | eng3(io.submit.eagr) | nonl; … … 221 217 | " - cmp " | eng3(io.calls.locked) | "locked, " | eng3(io.calls.helped) | "helped" 222 218 | " - " | eng3(io.calls.errors.busy) | " EBUSY"; 223 sstr | " - sub: " | eng3(io.flush.full) | "full, " | eng3(io.flush.dirty) | "drty, " | eng3(io.flush.idle) | "idle, " | eng3(io.flush.eager) | "eagr, " | eng3(io.flush.external) | '/' | eng3(io.flush.signal) |"ext";219 sstr | " - sub: " | eng3(io.flush.full) | "full, " | eng3(io.flush.dirty) | "drty, " | eng3(io.flush.idle) | "idle, " | eng3(io.flush.eager) | "eagr, " | eng3(io.flush.external) | "ext"; 224 220 sstr | "- ops blk: " 225 221 | " sk rd: " | eng3(io.ops.sockread) | "epll: " | eng3(io.ops.epllread)
Note:
See TracChangeset
for help on using the changeset viewer.