Changeset cef7430 for libcfa/src/concurrency/stats.cfa
- Timestamp:
- Jan 28, 2022, 2:50:51 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 3e5db5b4
- Parents:
- 6b2d444 (diff), e21f253 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
libcfa/src/concurrency/stats.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.cfa
r6b2d444 rcef7430 45 45 stats->io.submit.slow = 0; 46 46 stats->io.flush.external = 0; 47 stats->io.flush.dirty = 0; 48 stats->io.flush.full = 0; 49 stats->io.flush.idle = 0; 50 stats->io.flush.eager = 0; 47 51 stats->io.calls.flush = 0; 48 52 stats->io.calls.submitted = 0; … … 107 111 tally_one( &cltr->io.submit.slow , &proc->io.submit.slow ); 108 112 tally_one( &cltr->io.flush.external , &proc->io.flush.external ); 113 tally_one( &cltr->io.flush.dirty , &proc->io.flush.dirty ); 114 tally_one( &cltr->io.flush.full , &proc->io.flush.full ); 115 tally_one( &cltr->io.flush.idle , &proc->io.flush.idle ); 116 tally_one( &cltr->io.flush.eager , &proc->io.flush.eager ); 109 117 tally_one( &cltr->io.calls.flush , &proc->io.calls.flush ); 110 118 tally_one( &cltr->io.calls.submitted , &proc->io.calls.submitted ); … … 184 192 if(io.alloc.fail || io.alloc.revoke || io.alloc.block) 185 193 sstr | "- failures : " | eng3(io.alloc.fail) | "oom, " | eng3(io.alloc.revoke) | "rvk, " | eng3(io.alloc.block) | "blk"; 186 if(io.flush.external)187 sstr | "- flush external : " | eng3(io.flush.external);194 // if(io.flush.external) 195 // sstr | "- flush external : " | eng3(io.flush.external); 188 196 189 197 double avgsubs = ((double)io.calls.submitted) / io.calls.flush; 190 198 double avgcomp = ((double)io.calls.completed) / io.calls.drain; 191 199 sstr | "- syscll : " 192 | " sub " | eng3(io.calls. flush) | "/" | eng3(io.calls.submitted) | "(" | ws(3, 3, avgsubs) | "/flush)"193 | " - cmp " | eng3(io.calls. drain) | "/" | eng3(io.calls.completed) | "(" | ws(3, 3, avgcomp) | "/drain)"200 | " sub " | eng3(io.calls.submitted) | "/" | eng3(io.calls.flush) | "(" | ws(3, 3, avgsubs) | "/flush)" 201 | " - cmp " | eng3(io.calls.completed) | "/" | eng3(io.calls.drain) | "(" | ws(3, 3, avgcomp) | "/drain)" 194 202 | " - " | eng3(io.calls.errors.busy) | " EBUSY"; 203 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"; 195 204 sstr | "- ops blk: " 196 205 | " sk rd: " | eng3(io.ops.sockread) | "epll: " | eng3(io.ops.epllread)
Note:
See TracChangeset
for help on using the changeset viewer.