-
- Downloads
Make direct emission of time profiler counter
* 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
Showing
- gcc/ChangeLog 12 additions, 0 deletionsgcc/ChangeLog
- gcc/profile.c 4 additions, 10 deletionsgcc/profile.c
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c 1 addition, 1 deletiongcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c
- gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c 22 additions, 0 deletionsgcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c
- gcc/tree-profile.c 81 additions, 25 deletionsgcc/tree-profile.c
- gcc/value-prof.h 2 additions, 3 deletionsgcc/value-prof.h
- libgcc/ChangeLog 5 additions, 0 deletionslibgcc/ChangeLog
- libgcc/libgcov-profiler.c 1 addition, 22 deletionslibgcc/libgcov-profiler.c
Loading
Please register or sign in to comment