Changeset db614d0 for libcfa/src
- Timestamp:
- Sep 23, 2021, 12:41:56 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 4500e52
- Parents:
- 420b498
- Location:
- libcfa/src/concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.cfa
r420b498 rdb614d0 48 48 stats->io.calls.completed = 0; 49 49 stats->io.calls.errors.busy = 0; 50 stats->io.ops.sockread = 0; 51 stats->io.ops.epllread = 0; 52 stats->io.ops.sockwrite = 0; 53 stats->io.ops.epllwrite = 0; 50 54 #endif 51 55 … … 104 108 tally_one( &cltr->io.calls.completed , &proc->io.calls.completed ); 105 109 tally_one( &cltr->io.calls.errors.busy, &proc->io.calls.errors.busy ); 110 tally_one( &cltr->io.ops.sockread , &proc->io.ops.sockread ); 111 tally_one( &cltr->io.ops.epllread , &proc->io.ops.epllread ); 112 tally_one( &cltr->io.ops.sockwrite , &proc->io.ops.sockwrite ); 113 tally_one( &cltr->io.ops.epllwrite , &proc->io.ops.epllwrite ); 106 114 #endif 107 115 } … … 179 187 | " - cmp " | eng3(io.calls.drain) | "/" | eng3(io.calls.completed) | "(" | ws(3, 3, avgcomp) | "/drain)" 180 188 | " - " | eng3(io.calls.errors.busy) | " EBUSY"; 189 sstr | "- ops blk: " 190 | " sk rd: " | eng3(io.ops.sockread) | "epll: " | eng3(io.ops.epllread) 191 | " sk wr: " | eng3(io.ops.sockwrite) | "epll: " | eng3(io.ops.epllwrite); 181 192 sstr | nl; 182 193 } -
libcfa/src/concurrency/stats.hfa
r420b498 rdb614d0 102 102 volatile uint64_t sleeps; 103 103 } poller; 104 struct { 105 volatile uint64_t sockread; 106 volatile uint64_t epllread; 107 volatile uint64_t sockwrite; 108 volatile uint64_t epllwrite; 109 } ops; 104 110 }; 105 111 #endif
Note: See TracChangeset
for help on using the changeset viewer.