Changeset 68f36f4 for libcfa/src/concurrency/stats.cfa
- Timestamp:
- Jun 19, 2020, 4:59:19 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:
- 0f89d4f
- Parents:
- 64a7146
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.cfa
r64a7146 r68f36f4 13 13 stats->ready.pick.pop .attempt = 0; 14 14 stats->ready.pick.pop .success = 0; 15 stats->ready.sleep.halts = 0; 16 stats->ready.sleep.cancels = 0; 17 stats->ready.sleep.wakes = 0; 18 stats->ready.sleep.exits = 0; 15 19 16 20 #if defined(HAVE_LINUX_IO_URING_H) … … 37 41 __atomic_fetch_add( &cltr->ready.pick.pop .attempt, proc->ready.pick.pop .attempt, __ATOMIC_SEQ_CST ); 38 42 __atomic_fetch_add( &cltr->ready.pick.pop .success, proc->ready.pick.pop .success, __ATOMIC_SEQ_CST ); 43 __atomic_fetch_add( &cltr->ready.sleep.halts , proc->ready.sleep.halts , __ATOMIC_SEQ_CST ); 44 __atomic_fetch_add( &cltr->ready.sleep.cancels, proc->ready.sleep.cancels, __ATOMIC_SEQ_CST ); 45 __atomic_fetch_add( &cltr->ready.sleep.wakes , proc->ready.sleep.wakes , __ATOMIC_SEQ_CST ); 46 __atomic_fetch_add( &cltr->ready.sleep.exits , proc->ready.sleep.exits , __ATOMIC_SEQ_CST ); 39 47 40 48 #if defined(HAVE_LINUX_IO_URING_H) … … 89 97 "- push average probe len : %'18.2lf, %'18.2lf%% (%'15lu attempts)\n" 90 98 "- pop average probe len : %'18.2lf, %'18.2lf%% (%'15lu attempts)\n" 99 "- Idle Sleep -\n" 100 "-- halts : %'15lu\n" 101 "-- cancelled halts : %'15lu\n" 102 "-- schedule wake : %'15lu\n" 103 "-- wake on exit : %'15lu\n" 91 104 #if defined(HAVE_LINUX_IO_URING_H) 92 105 "\n" … … 109 122 , push_len, push_sur, stats->ready.pick.push.attempt 110 123 , pop_len , pop_sur , stats->ready.pick.pop .attempt 124 , stats->ready.sleep.halts, stats->ready.sleep.cancels, stats->ready.sleep.wakes, stats->ready.sleep.exits 111 125 #if defined(HAVE_LINUX_IO_URING_H) 112 126 , submit_avg.cnt
Note: See TracChangeset
for help on using the changeset viewer.