Lines Matching refs:he_stat
178 static void he_stat__add_cpumode_period(struct he_stat *he_stat, in he_stat__add_cpumode_period() argument
183 he_stat->period_sys += period; in he_stat__add_cpumode_period()
186 he_stat->period_us += period; in he_stat__add_cpumode_period()
189 he_stat->period_guest_sys += period; in he_stat__add_cpumode_period()
192 he_stat->period_guest_us += period; in he_stat__add_cpumode_period()
199 static void he_stat__add_period(struct he_stat *he_stat, u64 period, in he_stat__add_period() argument
203 he_stat->period += period; in he_stat__add_period()
204 he_stat->weight += weight; in he_stat__add_period()
205 he_stat->nr_events += 1; in he_stat__add_period()
208 static void he_stat__add_stat(struct he_stat *dest, struct he_stat *src) in he_stat__add_stat()
219 static void he_stat__decay(struct he_stat *he_stat) in he_stat__decay() argument
221 he_stat->period = (he_stat->period * 7) / 8; in he_stat__decay()
222 he_stat->nr_events = (he_stat->nr_events * 7) / 8; in he_stat__decay()