Lines Matching defs:he_stat
282 static void he_stat__add_cpumode_period(struct he_stat *he_stat,
287 he_stat->period_sys += period;
290 he_stat->period_us += period;
293 he_stat->period_guest_sys += period;
296 he_stat->period_guest_us += period;
311 static void he_stat__add_period(struct he_stat *he_stat, u64 period, u64 latency)
313 he_stat->period += period;
314 he_stat->latency += latency;
315 he_stat->nr_events += 1;
318 static void he_stat__add_stat(struct he_stat *dest, struct he_stat *src)
332 static void he_stat__decay(struct he_stat *he_stat)
334 he_stat->period = (he_stat->period * 7) / 8;
335 he_stat->nr_events = (he_stat->nr_events * 7) / 8;
336 he_stat->weight1 = (he_stat->weight1 * 7) / 8;
337 he_stat->weight2 = (he_stat->weight2 * 7) / 8;
338 he_stat->weight3 = (he_stat->weight3 * 7) / 8;
339 he_stat->latency = (he_stat->latency * 7) / 8;