Lines Matching full:diff
2 * builtin-diff.c
4 * Builtin diff command: Analyze two perf.data input files, look up and read
5 * DSOs and symbol information, sort them and produce a diff.
23 /* Diff command specific HPP columns. */
119 .name = "Weighted diff",
231 pair->diff.period_ratio_delta = new_percent - old_percent;
232 pair->diff.computed = true;
233 return pair->diff.period_ratio_delta;
241 pair->diff.computed = true;
242 pair->diff.period_ratio = new_period / old_period;
243 return pair->diff.period_ratio;
251 pair->diff.computed = true;
252 pair->diff.wdiff = new_period * compute_wdiff_w2 -
255 return pair->diff.wdiff;
473 double l = left->diff.period_ratio_delta;
474 double r = right->diff.period_ratio_delta;
480 double l = left->diff.period_ratio;
481 double r = right->diff.period_ratio;
487 s64 l = left->diff.wdiff;
488 s64 r = right->diff.wdiff;
696 "perf diff [<options>] [old_file] [new_file]",
787 double diff;
793 if (pair->diff.computed)
794 diff = pair->diff.period_ratio_delta;
796 diff = compute_delta(he, pair);
798 if (fabs(diff) >= 0.01)
799 scnprintf(buf, size, "%+4.2F%%", diff);
807 if (pair->diff.computed)
808 ratio = pair->diff.period_ratio;
821 if (pair->diff.computed)
822 wdiff = pair->diff.wdiff;