Changeset ec43cf9 for libcfa/src/concurrency/stats.cfa
- Timestamp:
- Apr 5, 2021, 7:06:37 PM (22 months ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 7039ab9, cd59d28
- Parents:
- a5a01faa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.cfa
ra5a01faa rec43cf9 23 23 stats->ready.pick.pop .lsuccess = 0; 24 24 stats->ready.threads.migration = 0; 25 stats->ready.threads.threads = 0; 25 26 stats->ready.sleep.halts = 0; 26 27 stats->ready.sleep.cancels = 0; … … 61 62 __atomic_fetch_add( &cltr->ready.pick.pop .lsuccess, proc->ready.pick.pop .lsuccess, __ATOMIC_SEQ_CST ); proc->ready.pick.pop .lsuccess = 0; 62 63 __atomic_fetch_add( &cltr->ready.threads.migration , proc->ready.threads.migration , __ATOMIC_SEQ_CST ); proc->ready.threads.migration = 0; 64 __atomic_fetch_add( &cltr->ready.threads.threads , proc->ready.threads.threads , __ATOMIC_SEQ_CST ); proc->ready.threads.threads = 0; 63 65 __atomic_fetch_add( &cltr->ready.sleep.halts , proc->ready.sleep.halts , __ATOMIC_SEQ_CST ); proc->ready.sleep.halts = 0; 64 66 __atomic_fetch_add( &cltr->ready.sleep.cancels , proc->ready.sleep.cancels , __ATOMIC_SEQ_CST ); proc->ready.sleep.cancels = 0; … … 97 99 __cfaabi_bits_print_safe( STDOUT_FILENO, 98 100 "----- %s \"%s\" (%p) - Ready Q Stats -----\n" 99 "- total threads : %'15" PRIu64 "run, %'15" PRIu64 "schd (%'" PRIu64 "ext, %'" PRIu64 "mig )\n"101 "- total threads : %'15" PRIu64 "run, %'15" PRIu64 "schd (%'" PRIu64 "ext, %'" PRIu64 "mig, %'" PRId64 " )\n" 100 102 "- push avg probe : %'3.2lf, %'3.2lfl (%'15" PRIu64 " attempts, %'15" PRIu64 " locals)\n" 101 103 "- ext avg probe : %'3.2lf, %'3.2lfl (%'15" PRIu64 " attempts, %'15" PRIu64 " locals)\n" … … 106 108 , ready.pick.pop.success 107 109 , ready.pick.push.success + ready.pick.ext.success 108 , ready.pick.ext.success, ready.threads.migration 110 , ready.pick.ext.success, ready.threads.migration, ready.threads.threads 109 111 , push_len, lpush_len, ready.pick.push.attempt, ready.pick.push.local 110 112 , ext_len , lext_len , ready.pick.ext .attempt, ready.pick.ext .local
Note: See TracChangeset
for help on using the changeset viewer.