Jiri Olsa 7aaf6b3551 perf diff: Add ratio computation way to compare hist entries
Adding -c option to select computation method with the current 'Delta'
computation as default. Current possible values are of this option are:
'delta' and 'ratio'.

Adding 'ratio' as new computation way to compare hist entries.  If
specified the 'Ratio' column is displayed with value 'r' computed as:

  r = A->period / B->period

with:
  - A/B being matching hist entry from first/second file specified
    (or perf.data/perf.data.old) respectively.
  - period being the hist entry period value

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1349448287-18919-3-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-10-05 14:06:54 -03:00
..
2012-10-02 18:36:22 -03:00
2012-10-02 18:36:24 -03:00
2011-02-16 13:30:48 +01:00
2012-09-17 13:12:02 -03:00
2012-02-13 23:17:40 -02:00
2012-10-02 18:36:23 -03:00
2012-10-02 18:36:23 -03:00
2012-08-03 10:42:25 -03:00
2012-09-28 21:07:36 -03:00
2012-10-02 18:36:24 -03:00
2012-09-17 13:12:02 -03:00
2012-09-17 13:12:02 -03:00
2010-05-14 20:05:21 -03:00
2012-08-03 10:37:21 -03:00
2012-08-03 10:37:21 -03:00
2012-09-17 13:08:59 -03:00
2012-10-04 13:34:22 -03:00
2012-09-11 12:04:41 -03:00
2012-09-28 21:07:36 -03:00
2012-05-17 12:32:54 -03:00
2012-09-21 12:51:22 -03:00
2012-09-11 11:38:10 -03:00