Changeset b0904bf for libcfa/src


Ignore:
Timestamp:
Apr 5, 2021, 4:04:46 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
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
Message:

Removed alarm stats, they are now tallied directly into the cluster

Location:
libcfa/src/concurrency
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel.cfa

    r5cb51502 rb0904bf  
    756756                __print_stats( this.stats, this.print_stats, "Cluster", this.name, (void*)&this );
    757757        }
    758 
    759         extern int __print_alarm_stats;
    760         void print_alarm_stats() {
    761                 __print_alarm_stats = -1;
    762         }
    763758#endif
    764759// Local Variables: //
  • libcfa/src/concurrency/preemption.cfa

    r5cb51502 rb0904bf  
    708708}
    709709
    710 #if !defined(__CFA_NO_STATISTICS__)
    711         int __print_alarm_stats = 0;
    712 #endif
    713 
    714710// Main of the alarm thread
    715711// Waits on SIGALRM and send SIGUSR1 to whom ever needs it
     
    779775        unregister(&id);
    780776
    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         // #endif
    786777        return 0p;
    787778}
Note: See TracChangeset for help on using the changeset viewer.