Re: [PATCH] add overlap function to gcov-tool

2014-10-08 Thread Jan Hubicka
> On Tue, Oct 7, 2014 at 9:31 PM, Jan Hubicka wrote: > >> Hi, > >> > >> This patch adds overlap functionality to gcov-tool. The overlap score > >> estimates the similarity of two profiles. Currently it only computes > >> overlap for arc counters. > >> > >> The overlap score is defined as > >> \sum

Re: [PATCH] add overlap function to gcov-tool

2014-10-08 Thread Rong Xu
On Tue, Oct 7, 2014 at 9:31 PM, Jan Hubicka wrote: >> Hi, >> >> This patch adds overlap functionality to gcov-tool. The overlap score >> estimates the similarity of two profiles. Currently it only computes >> overlap for arc counters. >> >> The overlap score is defined as >> \sum minimum (p1-count

Re: [PATCH] add overlap function to gcov-tool

2014-10-07 Thread Jan Hubicka
> Hi, > > This patch adds overlap functionality to gcov-tool. The overlap score > estimates the similarity of two profiles. Currently it only computes > overlap for arc counters. > > The overlap score is defined as > \sum minimum (p1-counter[i] / p1-sum-all, p2-counter[i] / p2-sum-all) > where p1

[PATCH] add overlap function to gcov-tool

2014-10-07 Thread Rong Xu
Hi, This patch adds overlap functionality to gcov-tool. The overlap score estimates the similarity of two profiles. Currently it only computes overlap for arc counters. The overlap score is defined as \sum minimum (p1-counter[i] / p1-sum-all, p2-counter[i] / p2-sum-all) where p1-counter[i] and p2