#include <stdio.h>#include <string.h>#include "workaround.h"#include "resource.h"#include "timing.h"#include "tracing.h"#include "messg.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) |
| 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) |
| RSTATE * | Get_Rstate (INT ID) |
| void | Alloc_Phase (INT curId, const char *name, INT parentId) |
Variables | |
| static BOOL | Enabled = FALSE |
| static RSTATE * | timers [T_LAST+1] |
| static INT | CU_Count = 0 |
Definition at line 76 of file timing.cxx.
Definition at line 537 of file timing.cxx.
References NULL, Resource_Alloc(), and Timer.
Referenced by DIPA_Phase_Manager::Register_Phase().
Definition at line 252 of file timing.cxx.
References Enabled, Resource_Accum(), RR_Clear, and Timer.
Definition at line 390 of file timing.cxx.
References Add_Timer_To_Parent(), CU_Count, DBar, Enabled, fprintf(), Get_Trace(), NULL, Report_Delta_Time(), T_BE_PU_CU, T_CalcDom_CU, T_CFLOW_CU, T_CodeGen_CU, T_EBO_CU, T_Emit_CU, T_Expand_CU, T_Freq_CU, T_GCM_CU, T_GLRA_CU, T_GRA_CU, T_HBF_CU, T_LNO_CU, T_Localize_CU, T_Loop_CU, T_Lower_CU, T_LRA_CU, T_ORI_CU, T_Preopt_CU, T_ReadIR_CU, T_Region_Finalize_CU, T_Sched_CU, T_SWpipe_CU, T_THR_CU, T_W2C_CU, T_W2F_CU, T_Wopt_CU, TINFO_CTIME, and TKIND_INFO.
Definition at line 482 of file timing.cxx.
References DBar, Enabled, fprintf(), NULL, Report_Delta_Time(), T_BE_Comp, T_BE_PU_Comp, T_CalcDom_Comp, T_CFLOW_Comp, T_CodeGen_Comp, T_EBO_Comp, T_Emit_Comp, T_Expand_Comp, T_Freq_Comp, T_GCM_Comp, T_GLRA_Comp, T_GRA_Comp, T_HBF_Comp, T_LNO_Comp, T_Localize_Comp, T_Loop_Comp, T_Lower_Comp, T_LRA_Comp, T_ORI_Comp, T_Preopt_Comp, T_ReadIR_Comp, T_Region_Finalize_Comp, T_Sched_Comp, T_SWpipe_Comp, T_THR_Comp, T_W2C_Comp, T_W2F_Comp, and T_Wopt_Comp.
| double Get_User_Time | ( | INT | Timer_ID | ) |
Definition at line 276 of file timing.cxx.
References Enabled, Get_Time(), r, Resource_Accum(), RR_Delta_User, RR_Start, RR_Stop, time_info::secs, Timer, time_info::usecs, and utime().
Definition at line 114 of file timing.cxx.
References Enabled, NULL, Resource_Alloc(), Resource_Init(), T_BE_Comp, T_BE_PU_Comp, T_BE_PU_CU, T_CalcDom_Comp, T_CalcDom_CU, T_CFLOW_Comp, T_CFLOW_CU, T_CodeGen_Comp, T_CodeGen_CU, T_EBO_Comp, T_EBO_CU, T_Emit_Comp, T_Emit_CU, T_Expand_Comp, T_Expand_CU, T_Freq_Comp, T_Freq_CU, T_GCM_Comp, T_GCM_CU, T_GLRA_Comp, T_GLRA_CU, T_GRA_Comp, T_GRA_CU, T_HBF_Comp, T_HBF_CU, T_LNO_Comp, T_LNO_CU, T_Localize_Comp, T_Localize_CU, T_Loop_Comp, T_Loop_CU, T_Lower_Comp, T_Lower_CU, T_LRA_Comp, T_LRA_CU, T_ORI_Comp, T_ORI_CU, T_Preopt_Comp, T_Preopt_CU, T_ReadIR_Comp, T_ReadIR_CU, T_Region_Finalize_Comp, T_Region_Finalize_CU, T_Sched_Comp, T_Sched_CU, T_SWpipe_Comp, T_SWpipe_CU, T_THR_Comp, T_THR_CU, T_W2C_Comp, T_W2C_CU, T_W2F_Comp, T_W2F_CU, T_Wopt_Comp, T_Wopt_CU, and Timer.
Definition at line 354 of file timing.cxx.
References DBar, Enabled, fprintf(), Get_Trace(), NULL, Report_Delta_Time(), T_CalcDom_CU, T_CFLOW_CU, T_CodeGen_CU, T_EBO_CU, T_Expand_CU, T_Freq_CU, T_GCM_CU, T_GLRA_CU, T_GRA_CU, T_HBF_CU, T_Localize_CU, T_Loop_CU, T_LRA_CU, T_Region_Finalize_CU, T_Sched_CU, T_SWpipe_CU, T_THR_CU, TINFO_CTIME, and TKIND_INFO.
Definition at line 319 of file timing.cxx.
References Enabled, fprintf(), Get_Memory(), Get_Time(), Get_Timer_Name(), INT, mem, r, RR_Delta_Elapsed, RR_Delta_Memory, RR_Delta_System, RR_Delta_User, time_info::secs, stime(), Timer, time_info::usecs, and utime().
Definition at line 93 of file timing.cxx.
References Enabled, i, INT, Resource_Accum(), RR_Clear, T_LAST, and Timer.
Definition at line 261 of file timing.cxx.
References Enabled, Resource_Accum(), RR_Start, and Timer.
Definition at line 269 of file timing.cxx.
References Enabled, Resource_Accum(), RR_Stop, and Timer.
Definition at line 81 of file timing.cxx.
Definition at line 72 of file timing.cxx.
Definition at line 75 of file timing.cxx.
1.5.6