Changeset 150d21a for libcfa/src/concurrency/stats.cfa
- Timestamp:
- Feb 19, 2021, 4:17:45 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 18a7594
- Parents:
- 4c4d854
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.cfa
r4c4d854 r150d21a 38 38 stats->io.calls.blocks = 0; 39 39 stats->io.calls.errors.busy = 0; 40 stats->io.poller.sleeps = 0; 40 41 #endif 41 42 } … … 71 72 __atomic_fetch_add( &cltr->io.calls.blocks , proc->io.calls.blocks , __ATOMIC_SEQ_CST ); proc->io.calls.blocks = 0; 72 73 __atomic_fetch_add( &cltr->io.calls.errors.busy, proc->io.calls.errors.busy, __ATOMIC_SEQ_CST ); proc->io.calls.errors.busy = 0; 74 __atomic_fetch_add( &cltr->io.poller.sleeps , proc->io.poller.sleeps , __ATOMIC_SEQ_CST ); proc->io.poller.sleeps = 0; 73 75 #endif 74 76 } … … 144 146 "- blocking calls : %'15" PRIu64 "\n" 145 147 "- io_uring_enter EBUSYs : %'15" PRIu64 "\n" 148 "- poller sleeping : %'15" PRIu64 "\n" 146 149 "\n" 147 150 , type, name, id … … 161 164 , io.calls.blocks 162 165 , io.calls.errors.busy 166 , io.poller.sleeps 163 167 ); 164 168 }
Note: See TracChangeset
for help on using the changeset viewer.