Skip to content
Snippets Groups Projects
  • Martin Liska's avatar
    7d29f8e3
    Make direct emission of time profiler counter · 7d29f8e3
    Martin Liska authored
    	* libgcov-profiler.c (__gcov_time_profiler): Remove.
    	(__gcov_time_profiler_atomic): Likewise.
    	* profile.c (instrument_values): Fix coding style.
    	(branch_prob): Use renamed function.
    	* tree-profile.c (init_ic_make_global_vars): Likewise.
    	(gimple_init_edge_profiler): Rename to
    	gimple_init_gcov_profiler.
    	tree_time_profiler_counter variable declaration.
    	(gimple_gen_time_profiler): Rewrite to do a direct gimple code
    	emission.
    	* value-prof.h: Remove an argument.
    	* gcc.dg/no_profile_instrument_function-attr-1.c: Update scanned
    	output.
    	* gcc.dg/tree-prof/time-profiler-3.c: New test.
    
    From-SVN: r241821
    7d29f8e3
    History
    Make direct emission of time profiler counter
    Martin Liska authored
    	* libgcov-profiler.c (__gcov_time_profiler): Remove.
    	(__gcov_time_profiler_atomic): Likewise.
    	* profile.c (instrument_values): Fix coding style.
    	(branch_prob): Use renamed function.
    	* tree-profile.c (init_ic_make_global_vars): Likewise.
    	(gimple_init_edge_profiler): Rename to
    	gimple_init_gcov_profiler.
    	tree_time_profiler_counter variable declaration.
    	(gimple_gen_time_profiler): Rewrite to do a direct gimple code
    	emission.
    	* value-prof.h: Remove an argument.
    	* gcc.dg/no_profile_instrument_function-attr-1.c: Update scanned
    	output.
    	* gcc.dg/tree-prof/time-profiler-3.c: New test.
    
    From-SVN: r241821