Lines Matching refs:he_stat
269 static void he_stat__add_cpumode_period(struct he_stat *he_stat, in he_stat__add_cpumode_period() argument
274 he_stat->period_sys += period; in he_stat__add_cpumode_period()
277 he_stat->period_us += period; in he_stat__add_cpumode_period()
280 he_stat->period_guest_sys += period; in he_stat__add_cpumode_period()
283 he_stat->period_guest_us += period; in he_stat__add_cpumode_period()
298 static void he_stat__add_period(struct he_stat *he_stat, u64 period) in he_stat__add_period() argument
300 he_stat->period += period; in he_stat__add_period()
301 he_stat->nr_events += 1; in he_stat__add_period()
304 static void he_stat__add_stat(struct he_stat *dest, struct he_stat *src) in he_stat__add_stat()
314 static void he_stat__decay(struct he_stat *he_stat) in he_stat__decay() argument
316 he_stat->period = (he_stat->period * 7) / 8; in he_stat__decay()
317 he_stat->nr_events = (he_stat->nr_events * 7) / 8; in he_stat__decay()