diff options
Diffstat (limited to 'tools/perf/Documentation/perf-diff.txt')
-rw-r--r-- | tools/perf/Documentation/perf-diff.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tools/perf/Documentation/perf-diff.txt b/tools/perf/Documentation/perf-diff.txt index cff3d9b6e4a3..fa413ac914f5 100644 --- a/tools/perf/Documentation/perf-diff.txt +++ b/tools/perf/Documentation/perf-diff.txt | |||
@@ -78,7 +78,7 @@ OPTIONS | |||
78 | 78 | ||
79 | -c:: | 79 | -c:: |
80 | --compute:: | 80 | --compute:: |
81 | Differential computation selection - delta,ratio (default is delta). | 81 | Differential computation selection - delta,ratio,wdiff (default is delta). |
82 | If '+' is specified as a first character, the output is sorted based | 82 | If '+' is specified as a first character, the output is sorted based |
83 | on the computation results. | 83 | on the computation results. |
84 | See COMPARISON METHODS section for more info. | 84 | See COMPARISON METHODS section for more info. |
@@ -110,6 +110,19 @@ with: | |||
110 | 110 | ||
111 | - period being the hist entry period value | 111 | - period being the hist entry period value |
112 | 112 | ||
113 | wdiff | ||
114 | ~~~~~ | ||
115 | If specified the 'Weighted diff' column is displayed with value 'd' computed as: | ||
116 | |||
117 | d = B->period * WEIGHT-A - A->period * WEIGHT-B | ||
118 | |||
119 | - A/B being matching hist entry from first/second file specified | ||
120 | (or perf.data/perf.data.old) respectively. | ||
121 | |||
122 | - period being the hist entry period value | ||
123 | |||
124 | - WEIGHT-A/WEIGHT-B being user suplied weights in the the '-c' option | ||
125 | behind ':' separator like '-c wdiff:1,2'. | ||
113 | 126 | ||
114 | SEE ALSO | 127 | SEE ALSO |
115 | -------- | 128 | -------- |