#include "defs.h"#include "resource.h"#include "timing.h"#include "tracing.h"

Go to the source code of this file.
Defines | |
| #define | Timer(i) timers[i] |
Functions/Subroutines | |
| void | Reset_Timers (void) |
| void | Initialize_Timing (BOOL enable) |
| void | Clear_Timer (INT Timer_ID) |
| void | Start_Timer (INT Timer_ID) |
| void | Stop_Timer (INT Timer_ID) |
| double | Get_User_Time (INT Timer_ID) |
| static void | Add_Timer_To_Parent (INT Timer_ID) |
| void | Report_Delta_Time (FILE *file, INT Timer_ID) |
| void | Report_CG_Region_Timing (FILE *file, char *name) |
| void | Finish_BE_Timing (FILE *file, char *name) |
| void | Finish_Compilation_Timing (FILE *file, char *source) |
Variables | |
| static BOOL | Enabled = FALSE |
| static RSTATE * | timers [T_LAST+1] |
| static INT | CU_Count = 0 |
Definition at line 71 of file timing.cxx.
Referenced by Add_Timer_To_Parent(), Alloc_Phase(), Clear_Timer(), DIPA_Phase::Dump_Stats(), DIPA_Phase_Manager::Get_Phase_ID(), Get_Rstate(), Get_User_Time(), Initialize_Timing(), Report_Delta_Time(), Reset_Timers(), Start_Timer(), and Stop_Timer().
Definition at line 295 of file timing.cxx.
References Enabled, Resource_Accum(), RR_End, and Timer.
Referenced by DIPA_Phase::Accum_Stats(), and Finish_BE_Timing().
Definition at line 247 of file timing.cxx.
References Enabled, Resource_Accum(), RR_Clear, and Timer.
| double Get_User_Time | ( | INT | Timer_ID | ) |
Definition at line 109 of file timing.cxx.
Referenced by DIPA_Phase_Manager::Init_IPA(), Process_Command_Line(), and Process_IPA_Options().
Definition at line 314 of file timing.cxx.
Referenced by Finish_BE_Timing(), Finish_Compilation_Timing(), and Report_CG_Region_Timing().
Definition at line 256 of file timing.cxx.
Referenced by Calculate_Dominators(), CFLOW_Optimize(), CG_Generate_Code(), CGGRP_Bundle(), Check_Cross_Boundary(), DIPA_Phase_Manager::Do_IPA(), GCM_Schedule_Region(), Global_Insn_Sched(), GRA_Allocate_Global_Registers(), HB_Form_Hyperblocks(), IF_CONVERTOR::IF_CONVERTOR(), IGLS_Schedule_Region(), Lnoptimizer(), Local_Insn_Sched(), lower_bit_field_id(), LRA_Allocate_Registers(), main(), Olimit_Region_Insertion(), Perform_Global_Optimization(), Perform_Global_Schedule(), Perform_Loop_Nest_Optimization(), Perform_Preopt_Optimization(), Perform_SWP(), Post_Multi_Branch(), Post_Multi_Branch_Collect(), PRDB_GEN::PRDB_GEN(), Preorder_Process_PUs(), Preprocess_PU(), SCHEDULER::Sched_Rgn_Preproc(), U64_lower_wn(), W2C_Outfile_Translate_Pu(), W2C_Translate_Purple_Main(), W2C_Translate_Wn(), W2C_Translate_Wn_Str(), W2F_Outfile_Translate_Pu(), W2F_Translate_Purple_Main(), W2F_Translate_Wn(), W2F_Translate_Wn_Str(), WN_retype_expr(), and WN_unroll().
Definition at line 264 of file timing.cxx.
Referenced by Calculate_Dominators(), CFLOW_Optimize(), CG_Generate_Code(), CGGRP_Bundle(), Check_Cross_Boundary(), DIPA_Phase_Manager::Do_IPA(), GCM_Schedule_Region(), Global_Insn_Sched(), GRA_Allocate_Global_Registers(), HB_Form_Hyperblocks(), IF_CONVERTOR::IF_CONVERTOR(), IGLS_Schedule_Region(), Lnoptimizer(), Local_Insn_Sched(), lower_bit_field_id(), LRA_Allocate_Registers(), main(), Olimit_Region_Insertion(), Perform_Global_Optimization(), Perform_Global_Schedule(), Perform_Loop_Nest_Optimization(), Perform_Preopt_Optimization(), Perform_SWP(), Post_Multi_Branch(), PRDB_GEN::PRDB_GEN(), Preorder_Process_PUs(), Preprocess_PU(), SCHEDULER::Sched_Rgn_Preproc(), U64_lower_wn(), W2C_Outfile_Translate_Pu(), W2C_Translate_Purple_Main(), W2C_Translate_Wn(), W2C_Translate_Wn_Str(), W2F_Outfile_Translate_Pu(), W2F_Translate_Purple_Main(), W2F_Translate_Wn(), W2F_Translate_Wn_Str(), WN_retype_expr(), and WN_unroll().
Definition at line 67 of file timing.cxx.
Referenced by Add_Timer_To_Parent(), Clear_Timer(), Finish_BE_Timing(), Finish_Compilation_Timing(), Get_User_Time(), Initialize_Timing(), Report_CG_Region_Timing(), Report_Delta_Time(), Reset_Timers(), Start_Timer(), and Stop_Timer().
Definition at line 70 of file timing.cxx.
1.5.6