]> git.ipfire.org Git - thirdparty/gcc.git/commit
Make direct emission of time profiler counter
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2016 15:24:22 +0000 (15:24 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2016 15:24:22 +0000 (15:24 +0000)
commit36ffeeafbbebe230ffd28285e6b2ec884ae97bee
treec52598610873862306ffb6e9daafae7f170aa0f9
parent9769a02b0fa5ccc4894b4933562b898275f7b2cb
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241821 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/profile.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c
gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c [new file with mode: 0644]
gcc/tree-profile.c
gcc/value-prof.h
libgcc/ChangeLog
libgcc/libgcov-profiler.c