Lines Matching refs:now
130 * ... |---x---|------| ... |------|-----x (now)
200 * (now) (~1ms ago) (~2ms ago)
220 static __always_inline int ___update_load_sum(u64 now, struct sched_avg *sa, unsigned long load, unsigned long runnable,
225 delta = now - sa->last_update_time;
231 sa->last_update_time = now;
337 int __update_load_avg_blocked_se(u64 now, struct sched_entity *se)
339 if (___update_load_sum(now, &se->avg, 0, 0, 0)) {
348 int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se)
350 if (___update_load_sum(now, &se->avg, !!se->on_rq, se_runnable(se), cfs_rq->curr == se)) {
360 int __update_load_avg_cfs_rq(u64 now, struct cfs_rq *cfs_rq)
362 if (___update_load_sum(now, &cfs_rq->avg, scale_load_down(cfs_rq->load.weight), cfs_rq->h_nr_running,
383 int update_rt_rq_load_avg(u64 now, struct rq *rq, int running)
385 if (___update_load_sum(now, &rq->avg_rt, running, running, running)) {
405 int update_dl_rq_load_avg(u64 now, struct rq *rq, int running)
407 if (___update_load_sum(now, &rq->avg_dl, running, running, running)) {
432 int update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity)
434 if (___update_load_sum(now, &rq->avg_thermal, capacity, capacity, capacity)) {