Lines Matching refs:he_stat
255 static void he_stat__add_cpumode_period(struct he_stat *he_stat, 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()
289 he_stat->weight += weight; in he_stat__add_period()
290 he_stat->nr_events += 1; in he_stat__add_period()
293 static void he_stat__add_stat(struct he_stat *dest, struct he_stat *src) in he_stat__add_stat()
304 static void he_stat__decay(struct he_stat *he_stat) in he_stat__decay() argument
306 he_stat->period = (he_stat->period * 7) / 8; in he_stat__decay()
307 he_stat->nr_events = (he_stat->nr_events * 7) / 8; in he_stat__decay()