Changeset b0904bf
- Timestamp:
- Apr 5, 2021, 4:04:46 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:
- a5a01faa
- Parents:
- 5cb51502
- Location:
- libcfa/src/concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r5cb51502 rb0904bf 756 756 __print_stats( this.stats, this.print_stats, "Cluster", this.name, (void*)&this ); 757 757 } 758 759 extern int __print_alarm_stats;760 void print_alarm_stats() {761 __print_alarm_stats = -1;762 }763 758 #endif 764 759 // Local Variables: // -
libcfa/src/concurrency/preemption.cfa
r5cb51502 rb0904bf 708 708 } 709 709 710 #if !defined(__CFA_NO_STATISTICS__)711 int __print_alarm_stats = 0;712 #endif713 714 710 // Main of the alarm thread 715 711 // Waits on SIGALRM and send SIGUSR1 to whom ever needs it … … 779 775 unregister(&id); 780 776 781 // #if !defined(__CFA_NO_STATISTICS__)782 // if( 0 != __print_alarm_stats ) {783 // __print_stats( &local_stats, __print_alarm_stats, "Alarm", "Thread", 0p );784 // }785 // #endif786 777 return 0p; 787 778 }
Note: See TracChangeset
for help on using the changeset viewer.