Re: Improve -fprofile-report

2021-12-09 Thread Martin Liška
On 12/3/21 10:28, Jan Hubicka wrote: |Do you know how to get that name? With the numbers it is not too hard to find the dump, but I do not mind having it either way.| Hello. Let's keep the names as they are. I've just added the tracking to all LNT instances. Cheers, Martin

Re: Improve -fprofile-report

2021-12-03 Thread Jan Hubicka via Gcc-patches
> On 11/27/21 16:56, Jan Hubicka via Gcc-patches wrote: > > Hi, > > Profile-report was never properly updated after switch to new profile > > representation. This patch fixes the way profile mismatches are > > calculated: we used to collect separately count and freq mismatches, > > while now we ha

Re: Improve -fprofile-report

2021-12-03 Thread Bernhard Reutner-Fischer via Gcc-patches
On Sat, 27 Nov 2021 16:56:32 +0100 Jan Hubicka via Gcc-patches wrote: > --- a/gcc/cfghooks.h > +++ b/gcc/cfghooks.h > @@ -36,22 +36,25 @@ along with GCC; see the file COPYING3. If not see > and one CFG hook per CFG mode. */ > struct profile_record > { > - /* Likewise for a basic block's

Re: Improve -fprofile-report

2021-11-29 Thread Martin Liška
On 11/27/21 16:56, Jan Hubicka via Gcc-patches wrote: Hi, Profile-report was never properly updated after switch to new profile representation. This patch fixes the way profile mismatches are calculated: we used to collect separately count and freq mismatches, while now we have only counts & pro

Improve -fprofile-report

2021-11-27 Thread Jan Hubicka via Gcc-patches
Hi, Profile-report was never properly updated after switch to new profile representation. This patch fixes the way profile mismatches are calculated: we used to collect separately count and freq mismatches, while now we have only counts & probabilities. So we verify - in count: that total count

Re: [PATCH] Improve -fprofile-report.

2018-11-13 Thread Richard Biener
On Tue, Nov 6, 2018 at 3:05 PM Martin Liška wrote: > > Hi. > > The patch is based on what was discussed on IRC and in the PR. > Apart from that the reported layout is improved. > > Patch survives regression tests on x86_64-linux-gnu. > > Ready for trunk? OK. Thanks, Richard. > Martin > > gcc/Ch

Re: [PATCH] Improve -fprofile-report.

2018-11-12 Thread Martin Liška
PING^1 On 11/6/18 3:05 PM, Martin Liška wrote: > Hi. > > The patch is based on what was discussed on IRC and in the PR. > Apart from that the reported layout is improved. > > Patch survives regression tests on x86_64-linux-gnu. > > Ready for trunk? > Martin > > gcc/ChangeLog: > > 2018-11-06

[PATCH] Improve -fprofile-report.

2018-11-06 Thread Martin Liška
Hi. The patch is based on what was discussed on IRC and in the PR. Apart from that the reported layout is improved. Patch survives regression tests on x86_64-linux-gnu. Ready for trunk? Martin gcc/ChangeLog: 2018-11-06 Martin Liska PR tree-optimization/87885 * cfghooks.c (a