diff options
author | Jiri Olsa <[email protected]> | 2012-10-05 16:44:41 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-10-05 14:06:54 -0300 |
commit | 7aaf6b35512382329c5b2dd46b42f2bf12a5fff0 (patch) | |
tree | a0523500216e2224547bfe4c3e49630826fcbcf0 /lib/string_helpers.c | |
parent | a06d143e7cfaa10626f3ad0127a9b9169f900add (diff) |
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 <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions