[GOOGLE] Report the difference between profiled and guessed or annotated branch probabilities.

Yi Yang ahyangyi@google.com
Fri Jun 27 22:07:00 GMT 2014


I'm glad this feature is useful to people.

I haven't looked at the normal profiling process though. If anybody
would like to port this code to normal profiling, I'm more than
pleased to see that happen. Maybe I'll do that myself when I have
time, but do not count on that :)

On Fri, Jun 27, 2014 at 12:18 PM, Andi Kleen <andi@firstfloor.org> wrote:
> Yi Yang <ahyangyi@google.com> writes:
>
>> Hi,
>>
>> This patch adds an option. When the option is enabled, GCC will add a
>> record about it in an elf section called
>> ".gnu.switches.text.branch.annotation" for every branch.
>
> This would be nice to have even in mainline for the normal profiling.
>
> -Andi
>
> --
> ak@linux.intel.com -- Speaking for myself only



More information about the Gcc-patches mailing list