Lines Matching refs:period
256 unsigned int cpumode, u64 period) in he_stat__add_cpumode_period() argument
260 he_stat->period_sys += period; in he_stat__add_cpumode_period()
263 he_stat->period_us += period; in he_stat__add_cpumode_period()
266 he_stat->period_guest_sys += period; in he_stat__add_cpumode_period()
269 he_stat->period_guest_us += period; in he_stat__add_cpumode_period()
284 static void he_stat__add_period(struct he_stat *he_stat, u64 period, in he_stat__add_period() argument
288 he_stat->period += period; in he_stat__add_period()
295 dest->period += src->period; in he_stat__add_stat()
306 he_stat->period = (he_stat->period * 7) / 8; in he_stat__decay()
315 u64 prev_period = he->stat.period; in hists__decay_entry()
326 diff = prev_period - he->stat.period; in hists__decay_entry()
346 return he->stat.period == 0; in hists__decay_entry()
569 static void hist_entry__add_callchain_period(struct hist_entry *he, u64 period) in hist_entry__add_callchain_period() argument
574 he->hists->callchain_period += period; in hist_entry__add_callchain_period()
576 he->hists->callchain_non_filtered_period += period; in hist_entry__add_callchain_period()
588 u64 period = entry->stat.period; in hists__findnew_entry() local
608 he_stat__add_period(&he->stat, period, weight); in hists__findnew_entry()
609 hist_entry__add_callchain_period(he, period); in hists__findnew_entry()
612 he_stat__add_period(he->stat_acc, period, weight); in hists__findnew_entry()
648 hist_entry__add_callchain_period(he, period); in hists__findnew_entry()
655 he_stat__add_cpumode_period(&he->stat, al->cpumode, period); in hists__findnew_entry()
657 he_stat__add_cpumode_period(he->stat_acc, al->cpumode, period); in hists__findnew_entry()
720 .period = sample->period, in __hists__add_entry()
836 sample->period = cost; in iter_add_single_mem_entry()
938 sample->period = 1; in iter_add_next_branch_entry()
1148 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
1710 hists->stats.total_non_filtered_period += h->stat.period; in hists__inc_filter_stats()
1719 hists->stats.total_period += h->stat.period; in hists__inc_stats()
1741 hists->stats.total_period += he->stat.period; in hierarchy_recalc_total_periods()
1743 hists->stats.total_non_filtered_period += he->stat.period; in hierarchy_recalc_total_periods()
1819 u64 total = he->stat.period; in hists__hierarchy_output_resort()
1822 total = he->stat_acc->period; in hists__hierarchy_output_resort()
1845 u64 total = he->stat.period; in __hists__insert_output_entry()
1848 total = he->stat_acc->period; in __hists__insert_output_entry()