Changeset 74227c6 for libcfa/src/concurrency/stats.cfa
- Timestamp:
- Dec 8, 2022, 11:27:05 AM (21 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 70cd431
- Parents:
- e1d66c84
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.cfa
re1d66c84 r74227c6 48 48 stats->io.submit.eagr = 0; 49 49 stats->io.submit.nblk = 0; 50 stats->io.submit.extr = 0; 50 51 stats->io.flush.external = 0; 52 stats->io.flush.signal = 0; 51 53 stats->io.flush.dirty = 0; 52 54 stats->io.flush.full = 0; … … 120 122 tally_one( &cltr->io.submit.eagr , &proc->io.submit.eagr ); 121 123 tally_one( &cltr->io.submit.nblk , &proc->io.submit.nblk ); 124 tally_one( &cltr->io.submit.extr , &proc->io.submit.extr ); 122 125 tally_one( &cltr->io.flush.external , &proc->io.flush.external ); 126 tally_one( &cltr->io.flush.signal , &proc->io.flush.signal ); 123 127 tally_one( &cltr->io.flush.dirty , &proc->io.flush.dirty ); 124 128 tally_one( &cltr->io.flush.full , &proc->io.flush.full ); … … 199 203 if(io.alloc.slow) { 200 204 double avgfasts = (100.0 * (double)io.submit.fast) / total_submits; 201 sstr | "fast," | eng3(io.submit.slow) | "slow (" | ws(3, 3, avgfasts) | "%) " | nonl;205 sstr | "fast," | eng3(io.submit.slow) | "slow (" | ws(3, 3, avgfasts) | "%)," | eng3(io.submit.extr) | "external" | nonl; 202 206 } 203 207 sstr | " - eager" | eng3(io.submit.eagr) | nonl; … … 217 221 | " - cmp " | eng3(io.calls.locked) | "locked, " | eng3(io.calls.helped) | "helped" 218 222 | " - " | eng3(io.calls.errors.busy) | " EBUSY"; 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";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"; 220 224 sstr | "- ops blk: " 221 225 | " sk rd: " | eng3(io.ops.sockread) | "epll: " | eng3(io.ops.epllread)
Note: See TracChangeset
for help on using the changeset viewer.