GCC Middle and Back End API 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 |
enum timevar_id_t |
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.
|
inlinestatic |
void timevar_pop_1 | ( | timevar_id_t | ) |
void timevar_print | ( | FILE * | ) |
|
inlinestatic |
Provided for backward compatibility.
Referenced by cleanup_tree_cfg_1(), coalescable_pseudo_p(), find_and_remove_re(), ipa_write_summaries(), remove_death(), rest_of_type_compilation(), and split_live_ranges_for_shrink_wrap().
void timevar_push_1 | ( | timevar_id_t | ) |
void timevar_start | ( | timevar_id_t | ) |
void timevar_stop | ( | timevar_id_t | ) |
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.