Lines Matching refs:he_stat
226 static void he_stat__add_cpumode_period(struct he_stat *he_stat, in he_stat__add_cpumode_period() argument
231 he_stat->period_sys += period; in he_stat__add_cpumode_period()
234 he_stat->period_us += period; in he_stat__add_cpumode_period()
237 he_stat->period_guest_sys += period; in he_stat__add_cpumode_period()
240 he_stat->period_guest_us += period; in he_stat__add_cpumode_period()
247 static void he_stat__add_period(struct he_stat *he_stat, u64 period, in he_stat__add_period() argument
251 he_stat->period += period; in he_stat__add_period()
252 he_stat->weight += weight; in he_stat__add_period()
253 he_stat->nr_events += 1; in he_stat__add_period()
256 static void he_stat__add_stat(struct he_stat *dest, struct he_stat *src) in he_stat__add_stat()
267 static void he_stat__decay(struct he_stat *he_stat) in he_stat__decay() argument
269 he_stat->period = (he_stat->period * 7) / 8; in he_stat__decay()
270 he_stat->nr_events = (he_stat->nr_events * 7) / 8; in he_stat__decay()