Changeset 69fbc61 for libcfa/src/concurrency/kernel.cfa
- Timestamp:
- Jun 25, 2020, 2:30:46 PM (5 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:
- 566fde0
- Parents:
- 8e27ac45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r8e27ac45 r69fbc61 241 241 242 242 #if !defined(__CFA_NO_STATISTICS__) 243 print_stats = false;243 print_stats = 0; 244 244 print_halts = false; 245 245 #endif … … 281 281 282 282 #if !defined(__CFA_NO_STATISTICS__) 283 print_stats = false;283 print_stats = 0; 284 284 stats = alloc(); 285 285 __init_stats( stats ); … … 297 297 298 298 #if !defined(__CFA_NO_STATISTICS__) 299 if( this.print_stats) {300 __print_stats( this.stats, t rue, this.name, (void*)&this );299 if( 0 != this.print_stats ) { 300 __print_stats( this.stats, this.print_stats, true, this.name, (void*)&this ); 301 301 } 302 302 free( this.stats ); … … 568 568 #if !defined(__CFA_NO_STATISTICS__) 569 569 __tally_stats(proc->cltr->stats, &local_stats); 570 if( proc->print_stats) {571 __print_stats( &local_stats, true, proc->name, (void*)proc );570 if( 0 != proc->print_stats ) { 571 __print_stats( &local_stats, proc->print_stats, true, proc->name, (void*)proc ); 572 572 } 573 573 #endif
Note: See TracChangeset
for help on using the changeset viewer.