Lines Matching refs:hists
71 struct hists *hists; member
264 u64 total = hists__total_period(he->hists); in period_percent()
304 u64 he_total = he->hists->stats.total_period; in formula_delta()
305 u64 pair_total = pair->hists->stats.total_period; in formula_delta()
308 he_total = he->hists->stats.total_non_filtered_period; in formula_delta()
309 pair_total = pair->hists->stats.total_non_filtered_period; in formula_delta()
389 struct hists *hists = evsel__hists(evsel); in diff__process_sample_event() local
409 if (!hists__add_entry(hists, &al, NULL, NULL, NULL, sample, in diff__process_sample_event()
416 if (!hists__add_entry_ops(hists, &block_hist_ops, &al, NULL, in diff__process_sample_event()
432 hists->stats.total_period += sample->period; in diff__process_sample_event()
434 hists->stats.total_non_filtered_period += sample->period; in diff__process_sample_event()
474 struct hists *hists = evsel__hists(evsel); in perf_evlist__collapse_resort() local
476 hists__collapse_resort(hists, NULL); in perf_evlist__collapse_resort()
496 if (pair->hists == d->hists) in get_pair_data()
511 static void hists__baseline_only(struct hists *hists) in hists__baseline_only() argument
516 if (hists__has(hists, need_collapse)) in hists__baseline_only()
517 root = &hists->entries_collapsed; in hists__baseline_only()
519 root = hists->entries_in; in hists__baseline_only()
672 struct hists *hists_pair) in get_block_pair()
703 static void block_hists_match(struct hists *hists_base, in block_hists_match()
704 struct hists *hists_pair) in block_hists_match()
730 static void hists__precompute(struct hists *hists) in hists__precompute() argument
735 if (hists__has(hists, need_collapse)) in hists__precompute()
736 root = &hists->entries_collapsed; in hists__precompute()
738 root = hists->entries_in; in hists__precompute()
985 static void hists__process(struct hists *hists) in hists__process() argument
988 hists__baseline_only(hists); in hists__process()
990 hists__precompute(hists); in hists__process()
991 hists__output_resort(hists, NULL); in hists__process()
996 hists__fprintf(hists, !quiet, 0, 0, 0, stdout, in hists__process()
1022 struct hists *hists_base = evsel__hists(evsel_base); in data_process()
1029 struct hists *hists; in data_process() local
1035 hists = evsel__hists(evsel); in data_process()
1036 d->hists = hists; in data_process()
1038 hists__match(hists_base, hists); in data_process()
1041 hists__link(hists_base, hists); in data_process()
1295 u64 total = hists__total_period(he->hists); in baseline_percent()
1577 struct hists *hists __maybe_unused, in hpp__header()
1590 struct hists *hists __maybe_unused) in hpp__width()