GCC Middle and Back End API Reference
timevar.h File Reference

Go to the source code of this file.

Data Structures

struct  timevar_time_def

Enumerations

enum  timevar_id_t { TV_NONE, TIMEVAR_LAST }

Functions

void timevar_init (void)
void timevar_push_1 (timevar_id_t)
void timevar_pop_1 (timevar_id_t)
void timevar_start (timevar_id_t)
void timevar_stop (timevar_id_t)
bool timevar_cond_start (timevar_id_t)
void timevar_cond_stop (timevar_id_t, bool)
void timevar_print (FILE *)
static void timevar_push ()
static void timevar_pop ()
void print_time (const char *, long)

Variables

bool timevar_enable
size_t timevar_ggc_mem_total

Enumeration Type Documentation

Enumerator:
TV_NONE 
TIMEVAR_LAST 

Function Documentation

void print_time ( const char *  ,
long   
)
bool timevar_cond_start ( timevar_id_t  )
void timevar_cond_stop ( timevar_id_t  ,
bool   
)
void timevar_init ( void  )
   Initialize timing variables.  
     Zero all elapsed times.  
     Initialize the names of timing variables.  

References timevar_def::elapsed, get_time(), timevar_def::standalone, start_time, timevar_stack_def::timevar, timevar_accumulate(), timevars, and timevar_def::used.

void timevar_pop_1 ( timevar_id_t  )
void timevar_print ( FILE *  )
static void timevar_push ( )
inlinestatic
void timevar_push_1 ( timevar_id_t  )
void timevar_start ( timevar_id_t  )
void timevar_stop ( timevar_id_t  )

Variable Documentation

bool timevar_enable
   True if timevars should be used.  In GCC, this happens with
   the -ftime-report flag.  

Referenced by timevar_start(), timevar_stop(), and validate_phases().

size_t timevar_ggc_mem_total
   Total amount of memory allocated by garbage collector.