• Home
  • Raw
  • Download

Lines Matching refs:util_avg

844 	long cap = (long)(cpu_scale - cfs_rq->avg.util_avg) / 2;  in post_init_entity_util_avg()
862 if (cfs_rq->avg.util_avg != 0) { in post_init_entity_util_avg()
863 sa->util_avg = cfs_rq->avg.util_avg * se->load.weight; in post_init_entity_util_avg()
864 sa->util_avg /= (cfs_rq->avg.load_avg + 1); in post_init_entity_util_avg()
866 if (sa->util_avg > cap) in post_init_entity_util_avg()
867 sa->util_avg = cap; in post_init_entity_util_avg()
869 sa->util_avg = cap; in post_init_entity_util_avg()
873 sa->runnable_avg = sa->util_avg; in post_init_entity_util_avg()
3543 sa->util_avg || in load_avg_is_decayed()
3726 long delta_sum, delta_avg = gcfs_rq->avg.util_avg - se->avg.util_avg; in update_tg_cfs_util()
3741 se->avg.util_avg = gcfs_rq->avg.util_avg; in update_tg_cfs_util()
3742 new_sum = se->avg.util_avg * divider; in update_tg_cfs_util()
3747 add_positive(&cfs_rq->avg.util_avg, delta_avg); in update_tg_cfs_util()
3752 cfs_rq->avg.util_avg * PELT_MIN_DIVIDER); in update_tg_cfs_util()
3899 if (se->avg.load_avg || se->avg.util_avg) in skip_blocked_update()
4040 swap(cfs_rq->removed.util_avg, removed_util); in update_cfs_rq_load_avg()
4053 sub_positive(&sa->util_avg, r); in update_cfs_rq_load_avg()
4066 sa->util_sum = max_t(u32, sa->util_sum, sa->util_avg * PELT_MIN_DIVIDER); in update_cfs_rq_load_avg()
4124 se->avg.util_sum = se->avg.util_avg * divider; in attach_entity_load_avg()
4137 cfs_rq->avg.util_avg += se->avg.util_avg; in attach_entity_load_avg()
4162 sub_positive(&cfs_rq->avg.util_avg, se->avg.util_avg); in detach_entity_load_avg()
4166 cfs_rq->avg.util_avg * PELT_MIN_DIVIDER); in detach_entity_load_avg()
4268 cfs_rq->removed.util_avg += se->avg.util_avg; in remove_entity_load_avg()
4288 return READ_ONCE(p->se.avg.util_avg); in task_util()
7056 unsigned long util = READ_ONCE(cfs_rq->avg.util_avg); in cpu_util_next()
8739 if (cfs_rq->avg.util_avg) in cfs_rq_has_blocked()
8747 if (READ_ONCE(rq->avg_rt.util_avg)) in others_have_blocked()
8750 if (READ_ONCE(rq->avg_dl.util_avg)) in others_have_blocked()
8757 if (READ_ONCE(rq->avg_irq.util_avg)) in others_have_blocked()
9017 used = READ_ONCE(rq->avg_rt.util_avg); in scale_rt_capacity()
9018 used += READ_ONCE(rq->avg_dl.util_avg); in scale_rt_capacity()