Lines Matching refs:left
561 static int64_t block_cycles_diff_cmp(struct hist_entry *left,
564 bool pairs_left = hist_entry__has_pairs(left);
571 l = llabs(left->diff.cycles);
577 struct hist_entry *left, struct hist_entry *right)
579 return block_cycles_diff_cmp(right, left);
758 __hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right,
764 double l = left->diff.period_ratio_delta;
771 double l = fabs(left->diff.period_ratio_delta);
778 double l = left->diff.period_ratio;
785 s64 l = left->diff.wdiff;
798 hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right,
801 bool pairs_left = hist_entry__has_pairs(left);
811 p_left = get_pair_data(left, &data__files[sort_idx]);
828 hist_entry__cmp_compute_idx(struct hist_entry *left, struct hist_entry *right,
833 p_left = get_pair_data(left, &data__files[sort_idx]);
848 if (left->dummy && right->dummy)
851 if (left->dummy || right->dummy)
852 return left->dummy ? 1 : -1;
860 struct hist_entry *left __maybe_unused,
868 struct hist_entry *left, struct hist_entry *right)
870 if (left->stat.period == right->stat.period)
872 return left->stat.period > right->stat.period ? 1 : -1;
877 struct hist_entry *left, struct hist_entry *right)
881 return hist_entry__cmp_compute(right, left, COMPUTE_DELTA, d->idx);
886 struct hist_entry *left, struct hist_entry *right)
890 return hist_entry__cmp_compute(right, left, COMPUTE_DELTA_ABS, d->idx);
895 struct hist_entry *left, struct hist_entry *right)
899 return hist_entry__cmp_compute(right, left, COMPUTE_RATIO, d->idx);
904 struct hist_entry *left, struct hist_entry *right)
908 return hist_entry__cmp_compute(right, left, COMPUTE_WEIGHTED_DIFF, d->idx);
913 struct hist_entry *left, struct hist_entry *right)
915 return hist_entry__cmp_compute_idx(right, left, COMPUTE_DELTA,
921 struct hist_entry *left, struct hist_entry *right)
923 return hist_entry__cmp_compute_idx(right, left, COMPUTE_DELTA_ABS,
929 struct hist_entry *left, struct hist_entry *right)
931 return hist_entry__cmp_compute_idx(right, left, COMPUTE_RATIO,
937 struct hist_entry *left, struct hist_entry *right)
939 return hist_entry__cmp_compute_idx(right, left, COMPUTE_WEIGHTED_DIFF,