Lines Matching refs:he_stat
177 static void he_stat__add_cpumode_period(struct he_stat *he_stat, in he_stat__add_cpumode_period() argument
182 he_stat->period_sys += period; in he_stat__add_cpumode_period()
185 he_stat->period_us += period; in he_stat__add_cpumode_period()
188 he_stat->period_guest_sys += period; in he_stat__add_cpumode_period()
191 he_stat->period_guest_us += period; in he_stat__add_cpumode_period()
198 static void he_stat__add_period(struct he_stat *he_stat, u64 period, in he_stat__add_period() argument
202 he_stat->period += period; in he_stat__add_period()
203 he_stat->weight += weight; in he_stat__add_period()
204 he_stat->nr_events += 1; in he_stat__add_period()
207 static void he_stat__add_stat(struct he_stat *dest, struct he_stat *src) in he_stat__add_stat()
218 static void he_stat__decay(struct he_stat *he_stat) in he_stat__decay() argument
220 he_stat->period = (he_stat->period * 7) / 8; in he_stat__decay()
221 he_stat->nr_events = (he_stat->nr_events * 7) / 8; in he_stat__decay()