Lines Matching refs:left
501 __hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, in __hist_entry__cmp_compute() argument
507 double l = left->diff.period_ratio_delta; in __hist_entry__cmp_compute()
514 double l = left->diff.period_ratio; in __hist_entry__cmp_compute()
521 s64 l = left->diff.wdiff; in __hist_entry__cmp_compute()
534 hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, in hist_entry__cmp_compute() argument
537 bool pairs_left = hist_entry__has_pairs(left); in hist_entry__cmp_compute()
547 p_left = get_pair_data(left, &data__files[sort_idx]); in hist_entry__cmp_compute()
564 hist_entry__cmp_compute_idx(struct hist_entry *left, struct hist_entry *right, in hist_entry__cmp_compute_idx() argument
569 p_left = get_pair_data(left, &data__files[sort_idx]); in hist_entry__cmp_compute_idx()
584 if (left->dummy && right->dummy) in hist_entry__cmp_compute_idx()
587 if (left->dummy || right->dummy) in hist_entry__cmp_compute_idx()
588 return left->dummy ? 1 : -1; in hist_entry__cmp_compute_idx()
596 struct hist_entry *left __maybe_unused, in hist_entry__cmp_nop()
604 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_baseline() argument
606 if (left->stat.period == right->stat.period) in hist_entry__cmp_baseline()
608 return left->stat.period > right->stat.period ? 1 : -1; in hist_entry__cmp_baseline()
613 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_delta() argument
617 return hist_entry__cmp_compute(right, left, COMPUTE_DELTA, d->idx); in hist_entry__cmp_delta()
622 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_ratio() argument
626 return hist_entry__cmp_compute(right, left, COMPUTE_RATIO, d->idx); in hist_entry__cmp_ratio()
631 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_wdiff() argument
635 return hist_entry__cmp_compute(right, left, COMPUTE_WEIGHTED_DIFF, d->idx); in hist_entry__cmp_wdiff()
640 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_delta_idx() argument
642 return hist_entry__cmp_compute_idx(right, left, COMPUTE_DELTA, in hist_entry__cmp_delta_idx()
648 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_ratio_idx() argument
650 return hist_entry__cmp_compute_idx(right, left, COMPUTE_RATIO, in hist_entry__cmp_ratio_idx()
656 struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp_wdiff_idx() argument
658 return hist_entry__cmp_compute_idx(right, left, COMPUTE_WEIGHTED_DIFF, in hist_entry__cmp_wdiff_idx()