Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
timing.cxx File Reference
#include "defs.h"
#include "resource.h"
#include "timing.h"
#include "tracing.h"
Include dependency graph for timing.cxx:

Go to the source code of this file.

Defines

#define Timer(i)   timers[i]

Functions

void Reset_Timers (void)
void Initialize_Timing (BOOL enable)
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 RSTATEtimers [T_LAST+1]
static INT CU_Count = 0

Define Documentation


Function Documentation

static void Add_Timer_To_Parent ( INT  Timer_ID) [static]

Definition at line 290 of file timing.cxx.

References Enabled, Resource_Accum(), RR_End, and Timer.

Referenced by Finish_BE_Timing().

Here is the call graph for this function:

double Get_User_Time ( INT  Timer_ID)

Definition at line 266 of file timing.cxx.

References Enabled, Get_Time(), Resource_Accum(), RR_Delta_User, RR_Start, RR_Stop, time_info::secs, Timer, and time_info::usecs.

Here is the call graph for this function:

void Report_Delta_Time ( FILE *  file,
INT  Timer_ID 
)
void Reset_Timers ( void  )

Definition at line 83 of file timing.cxx.

References Enabled, Resource_Accum(), RR_Clear, T_LAST, and Timer.

Referenced by main().

Here is the call graph for this function:


Variable Documentation

INT CU_Count = 0 [static]

Definition at line 71 of file timing.cxx.

Referenced by Finish_BE_Timing().

RSTATE* timers[T_LAST+1] [static]

Definition at line 65 of file timing.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines