Changeset 8bb239d for libcfa/src/concurrency/stats.cfa
- Timestamp:
- Jul 2, 2020, 4:38:58 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b9237fe
- Parents:
- e46c753
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.cfa
re46c753 r8bb239d 36 36 stats->io.submit_q.helped = 0; 37 37 stats->io.submit_q.leader = 0; 38 stats->io.submit_q.busy = 0; 38 39 stats->io.complete_q.completed_avg.val = 0; 39 40 stats->io.complete_q.completed_avg.slow_cnt = 0; … … 71 72 __atomic_fetch_add( &cltr->io.submit_q.helped , proc->io.submit_q.helped , __ATOMIC_SEQ_CST ); 72 73 __atomic_fetch_add( &cltr->io.submit_q.leader , proc->io.submit_q.leader , __ATOMIC_SEQ_CST ); 74 __atomic_fetch_add( &cltr->io.submit_q.busy , proc->io.submit_q.busy , __ATOMIC_SEQ_CST ); 73 75 __atomic_fetch_add( &cltr->io.complete_q.completed_avg.val , proc->io.complete_q.completed_avg.val , __ATOMIC_SEQ_CST ); 74 76 __atomic_fetch_add( &cltr->io.complete_q.completed_avg.slow_cnt, proc->io.complete_q.completed_avg.slow_cnt, __ATOMIC_SEQ_CST ); … … 145 147 "- total helped entries : %'15" PRIu64 "\n" 146 148 "- total leader entries : %'15" PRIu64 "\n" 149 "- total busy submit : %'15" PRIu64 "\n" 147 150 "- total ready search : %'15" PRIu64 "\n" 148 151 "- avg ready search len : %'18.2lf\n" … … 157 160 , io.submit_q.submit_avg.cnt 158 161 , avgrdy, avgcsm 159 , io.submit_q.helped, io.submit_q.leader 162 , io.submit_q.helped, io.submit_q.leader, io.submit_q.busy 160 163 , io.submit_q.look_avg.cnt 161 164 , lavgv, lavgb
Note: See TracChangeset
for help on using the changeset viewer.