Lines Matching refs:left
563 static int64_t block_cycles_diff_cmp(struct hist_entry *left,
566 bool pairs_left = hist_entry__has_pairs(left);
573 l = llabs(left->diff.cycles);
579 struct hist_entry *left, struct hist_entry *right)
581 return block_cycles_diff_cmp(right, left);
760 __hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right,
766 double l = left->diff.period_ratio_delta;
773 double l = fabs(left->diff.period_ratio_delta);
780 double l = left->diff.period_ratio;
787 s64 l = left->diff.wdiff;
800 hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right,
803 bool pairs_left = hist_entry__has_pairs(left);
813 p_left = get_pair_data(left, &data__files[sort_idx]);
830 hist_entry__cmp_compute_idx(struct hist_entry *left, struct hist_entry *right,
835 p_left = get_pair_data(left, &data__files[sort_idx]);
850 if (left->dummy && right->dummy)
853 if (left->dummy || right->dummy)
854 return left->dummy ? 1 : -1;
862 struct hist_entry *left __maybe_unused,
870 struct hist_entry *left, struct hist_entry *right)
872 if (left->stat.period == right->stat.period)
874 return left->stat.period > right->stat.period ? 1 : -1;
879 struct hist_entry *left, struct hist_entry *right)
883 return hist_entry__cmp_compute(right, left, COMPUTE_DELTA, d->idx);
888 struct hist_entry *left, struct hist_entry *right)
892 return hist_entry__cmp_compute(right, left, COMPUTE_DELTA_ABS, d->idx);
897 struct hist_entry *left, struct hist_entry *right)
901 return hist_entry__cmp_compute(right, left, COMPUTE_RATIO, d->idx);
906 struct hist_entry *left, struct hist_entry *right)
910 return hist_entry__cmp_compute(right, left, COMPUTE_WEIGHTED_DIFF, d->idx);
915 struct hist_entry *left, struct hist_entry *right)
917 return hist_entry__cmp_compute_idx(right, left, COMPUTE_DELTA,
923 struct hist_entry *left, struct hist_entry *right)
925 return hist_entry__cmp_compute_idx(right, left, COMPUTE_DELTA_ABS,
931 struct hist_entry *left, struct hist_entry *right)
933 return hist_entry__cmp_compute_idx(right, left, COMPUTE_RATIO,
939 struct hist_entry *left, struct hist_entry *right)
941 return hist_entry__cmp_compute_idx(right, left, COMPUTE_WEIGHTED_DIFF,