Lines Matching defs:cfs_rq
9 int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se);
10 int __update_load_avg_cfs_rq(u64 now, struct cfs_rq *cfs_rq);
161 static inline void update_idle_cfs_rq_clock_pelt(struct cfs_rq *cfs_rq)
165 if (unlikely(cfs_rq->throttle_count))
168 throttled = cfs_rq->throttled_clock_pelt_time;
170 u64_u32_store(cfs_rq->throttled_pelt_idle, throttled);
173 /* rq->task_clock normalized against any time this cfs_rq has spent throttled */
174 static inline u64 cfs_rq_clock_pelt(struct cfs_rq *cfs_rq)
176 if (unlikely(cfs_rq->throttle_count))
177 return cfs_rq->throttled_clock_pelt - cfs_rq->throttled_clock_pelt_time;
179 return rq_clock_pelt(rq_of(cfs_rq)) - cfs_rq->throttled_clock_pelt_time;
182 static inline void update_idle_cfs_rq_clock_pelt(struct cfs_rq *cfs_rq) { }
183 static inline u64 cfs_rq_clock_pelt(struct cfs_rq *cfs_rq)
185 return rq_clock_pelt(rq_of(cfs_rq));