Searched refs:avg (Results 1 – 6 of 6) sorted by relevance
223 unsigned long avg; in ring_buffer_producer() local337 avg = NSEC_PER_MSEC / hit; in ring_buffer_producer()338 trace_printk("%ld ns per entry\n", avg); in ring_buffer_producer()355 avg = NSEC_PER_MSEC / (hit + missed); in ring_buffer_producer()356 trace_printk("%ld ns per entry\n", avg); in ring_buffer_producer()
602 unsigned long long avg; in function_stat_show() local618 avg = rec->time; in function_stat_show()619 do_div(avg, rec->counter); in function_stat_show()625 stddev = rec->time_squared - rec->counter * avg * avg; in function_stat_show()636 trace_print_graph_duration(avg, &s); in function_stat_show()
71 struct sched_avg *avg = &cpu_rq(cpu)->avg; in print_cfs_group_stats() local72 P(avg->runnable_avg_sum); in print_cfs_group_stats()73 P(avg->runnable_avg_period); in print_cfs_group_stats()95 P(se->avg.runnable_avg_sum); in print_cfs_group_stats()96 P(se->avg.runnable_avg_period); in print_cfs_group_stats()97 P(se->avg.load_avg_contrib); in print_cfs_group_stats()98 P(se->avg.decay_count); in print_cfs_group_stats()
1307 decays -= se->avg.decay_count; in __synchronize_entity_decay()1311 se->avg.load_avg_contrib = decay_load(se->avg.load_avg_contrib, decays); in __synchronize_entity_decay()1312 se->avg.decay_count = 0; in __synchronize_entity_decay()1363 se->avg.load_avg_contrib = div64_u64(contrib, in __update_group_entity_contrib()1391 se->avg.load_avg_contrib *= runnable_avg; in __update_group_entity_contrib()1392 se->avg.load_avg_contrib >>= NICE_0_SHIFT; in __update_group_entity_contrib()1408 contrib = se->avg.runnable_avg_sum * scale_load_down(se->load.weight); in __update_task_entity_contrib()1409 contrib /= (se->avg.runnable_avg_period + 1); in __update_task_entity_contrib()1410 se->avg.load_avg_contrib = scale_load(contrib); in __update_task_entity_contrib()1416 long old_contrib = se->avg.load_avg_contrib; in __update_entity_load_avg_contrib()[all …]
523 struct sched_avg avg; member
1271 static void update_avg(u64 *avg, u64 sample) in update_avg() argument1273 s64 diff = sample - *avg; in update_avg()1274 *avg += diff >> 3; in update_avg()1618 p->se.avg.runnable_avg_period = 0; in __sched_fork()1619 p->se.avg.runnable_avg_sum = 0; in __sched_fork()