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.   

References clocks_to_msec, memset(), ticks_to_msec, timevar_enable, and timevars.

Referenced by do_compile().

static void timevar_pop ( )
inlinestatic

References timevar_enable, and timevar_pop_1().

Referenced by build_type_inheritance_graph(), calculate_dominance_info(), cleanup_cfg(), cleanup_tree_cfg_noloop(), compile(), compile_file(), compute_dominance_frontiers(), compute_points_to_sets(), create_new_def_for(), delete_trivially_dead_insns(), df_analyze_problem(), do_reload(), early_inliner(), emit_debug_global_declarations(), execute_ipa_stmt_fixups(), execute_ipa_summary_passes(), execute_late_warn_uninitialized(), execute_one_ipa_transform_pass(), execute_one_pass(), execute_todo(), execute_update_addresses_taken(), expand_function(), finalize_compilation_unit(), gcc::pass_manager::finish_optimization_passes(), fix_loop_structure(), ggc_collect(), gimple_expand_cfg(), gimplify_body(), gloog(), graphite_legal_transform(), gt_pch_save(), init_alias_analysis(), initialize_plugins(), inline_transform(), insert_phi_nodes(), invoke_plugin_callbacks_full(), ipa_read_optimization_summaries_1(), ipa_read_summaries_1(), ipa_write_optimization_summaries_1(), ipa_write_summaries_2(), ira(), lang_dependent_init(), loop_is_parallel_p(), loop_optimizer_finalize(), loop_optimizer_init(), lra(), lra_assign(), lra_coalesce(), lra_create_live_ranges(), lra_eliminate(), lra_inheritance(), pass_fini_dump_file(), pass_init_dump_file(), perform_tree_ssa_dce(), possible_polymorphic_call_targets(), rebuild_frequencies(), rebuild_jump_labels_1(), reg_scan(), regstat_compute_calls_crossed(), regstat_compute_ri(), regstat_init_n_sets_and_refs(), remove_unused_locals(), repair_loop_structures(), rest_of_decl_compilation(), rest_of_handle_combine(), rest_of_handle_cse(), rest_of_handle_cse2(), rest_of_handle_cse_after_global_opts(), rest_of_handle_final(), rest_of_handle_ree(), rest_of_type_compilation(), rewrite_blocks(), run_word_dce(), tail_merge_optimize(), update_ssa(), update_stmt_operands(), update_type_inheritance_graph(), variable_tracking_main_1(), varpool_output_variables(), verify_cgraph_node(), verify_flow_info(), verify_gimple_in_cfg(), verify_gimple_in_seq(), verify_loop_closed_ssa(), verify_rtl_sharing(), verify_ssa(), verify_symtab_node(), vt_find_locations(), walk_aliased_vdefs(), and walk_non_aliased_vuses().

void timevar_pop_1 ( timevar_id_t  )
void timevar_print ( FILE *  )
static void timevar_push ( )
inlinestatic
Provided for backward compatibility.   

References timevar_enable, and timevar_push_1().

Referenced by build_type_inheritance_graph(), calculate_dominance_info(), cleanup_cfg(), cleanup_tree_cfg_noloop(), compile(), compile_file(), compute_dominance_frontiers(), compute_points_to_sets(), create_new_def_for(), delete_trivially_dead_insns(), df_analyze_problem(), do_reload(), early_inliner(), emit_debug_global_declarations(), execute_ipa_stmt_fixups(), execute_ipa_summary_passes(), execute_late_warn_uninitialized(), execute_one_ipa_transform_pass(), execute_one_pass(), execute_todo(), execute_update_addresses_taken(), expand_function(), finalize_compilation_unit(), gcc::pass_manager::finish_optimization_passes(), fix_loop_structure(), ggc_collect(), gimple_expand_cfg(), gimplify_body(), gloog(), graphite_legal_transform(), gt_pch_save(), init_alias_analysis(), initialize_plugins(), inline_transform(), insert_phi_nodes(), invoke_plugin_callbacks_full(), ipa_read_optimization_summaries_1(), ipa_read_summaries_1(), ipa_write_optimization_summaries_1(), ipa_write_summaries_2(), ira(), lang_dependent_init(), loop_is_parallel_p(), loop_optimizer_finalize(), loop_optimizer_init(), lra(), lra_assign(), lra_coalesce(), lra_create_live_ranges(), lra_eliminate(), lra_inheritance(), pass_fini_dump_file(), pass_init_dump_file(), perform_tree_ssa_dce(), possible_polymorphic_call_targets(), rebuild_frequencies(), rebuild_jump_labels_1(), reg_scan(), regstat_compute_calls_crossed(), regstat_compute_ri(), regstat_init_n_sets_and_refs(), remove_unused_locals(), repair_loop_structures(), rest_of_decl_compilation(), rest_of_handle_combine(), rest_of_handle_cse(), rest_of_handle_cse2(), rest_of_handle_cse_after_global_opts(), rest_of_handle_final(), rest_of_handle_ree(), rest_of_type_compilation(), rewrite_blocks(), run_word_dce(), tail_merge_optimize(), update_ssa(), update_stmt_operands(), update_type_inheritance_graph(), variable_tracking_main_1(), varpool_output_variables(), verify_cgraph_node(), verify_flow_info(), verify_gimple_in_cfg(), verify_gimple_in_seq(), verify_loop_closed_ssa(), verify_rtl_sharing(), verify_ssa(), verify_symtab_node(), vt_find_locations(), walk_aliased_vdefs(), and walk_non_aliased_vuses().

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 get_time(), timevar_cond_start(), timevar_cond_stop(), timevar_init(), timevar_pop(), timevar_print(), timevar_push(), timevar_start(), and timevar_stop().

size_t timevar_ggc_mem_total
Total amount of memory allocated by garbage collector.   

Referenced by get_time(), and ggc_internal_alloc_stat().