Lines Matching refs:left

550 static int64_t block_cycles_diff_cmp(struct hist_entry *left,  in block_cycles_diff_cmp()  argument
553 bool pairs_left = hist_entry__has_pairs(left); in block_cycles_diff_cmp()
560 l = llabs(left->diff.cycles); in block_cycles_diff_cmp()
566 struct hist_entry *left, struct hist_entry *right) in block_sort() argument
568 return block_cycles_diff_cmp(right, left); in block_sort()
747 __hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, in __hist_entry__cmp_compute() argument
753 double l = left->diff.period_ratio_delta; in __hist_entry__cmp_compute()
760 double l = fabs(left->diff.period_ratio_delta); in __hist_entry__cmp_compute()
767 double l = left->diff.period_ratio; in __hist_entry__cmp_compute()
774 s64 l = left->diff.wdiff; in __hist_entry__cmp_compute()
787 hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, in hist_entry__cmp_compute() argument
790 bool pairs_left = hist_entry__has_pairs(left); in hist_entry__cmp_compute()
800 p_left = get_pair_data(left, &data__files[sort_idx]); in hist_entry__cmp_compute()
817 hist_entry__cmp_compute_idx(struct hist_entry *left, struct hist_entry *right, in hist_entry__cmp_compute_idx() argument
822 p_left = get_pair_data(left, &data__files[sort_idx]); in hist_entry__cmp_compute_idx()
837 if (left->dummy && right->dummy) in hist_entry__cmp_compute_idx()
840 if (left->dummy || right->dummy) in hist_entry__cmp_compute_idx()
841 return left->dummy ? 1 : -1; in hist_entry__cmp_compute_idx()
849 struct hist_entry *left __maybe_unused, in hist_entry__cmp_nop()
857 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_baseline() argument
859 if (left->stat.period == right->stat.period) in hist_entry__cmp_baseline()
861 return left->stat.period > right->stat.period ? 1 : -1; in hist_entry__cmp_baseline()
866 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_delta() argument
870 return hist_entry__cmp_compute(right, left, COMPUTE_DELTA, d->idx); in hist_entry__cmp_delta()
875 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_delta_abs() argument
879 return hist_entry__cmp_compute(right, left, COMPUTE_DELTA_ABS, d->idx); in hist_entry__cmp_delta_abs()
884 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_ratio() argument
888 return hist_entry__cmp_compute(right, left, COMPUTE_RATIO, d->idx); in hist_entry__cmp_ratio()
893 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_wdiff() argument
897 return hist_entry__cmp_compute(right, left, COMPUTE_WEIGHTED_DIFF, d->idx); in hist_entry__cmp_wdiff()
902 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_delta_idx() argument
904 return hist_entry__cmp_compute_idx(right, left, COMPUTE_DELTA, in hist_entry__cmp_delta_idx()
910 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_delta_abs_idx() argument
912 return hist_entry__cmp_compute_idx(right, left, COMPUTE_DELTA_ABS, in hist_entry__cmp_delta_abs_idx()
918 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_ratio_idx() argument
920 return hist_entry__cmp_compute_idx(right, left, COMPUTE_RATIO, in hist_entry__cmp_ratio_idx()
926 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_wdiff_idx() argument
928 return hist_entry__cmp_compute_idx(right, left, COMPUTE_WEIGHTED_DIFF, in hist_entry__cmp_wdiff_idx()