Lines Matching refs:delta_exec
259 static u64 __calc_delta(u64 delta_exec, unsigned long weight, struct load_weight *lw) in __calc_delta() argument
283 return mul_u64_u32_shr(delta_exec, fact, shift); in __calc_delta()
520 void account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec);
1137 s64 delta_exec; in update_curr_se() local
1139 delta_exec = now - curr->exec_start; in update_curr_se()
1140 if (unlikely(delta_exec <= 0)) in update_curr_se()
1141 return delta_exec; in update_curr_se()
1144 curr->sum_exec_runtime += delta_exec; in update_curr_se()
1151 max(delta_exec, stats->exec_max)); in update_curr_se()
1154 return delta_exec; in update_curr_se()
1157 static inline void update_curr_task(struct task_struct *p, s64 delta_exec) in update_curr_task() argument
1159 trace_sched_stat_runtime(p, delta_exec); in update_curr_task()
1160 account_group_exec_runtime(p, delta_exec); in update_curr_task()
1161 cgroup_account_cputime(p, delta_exec); in update_curr_task()
1163 dl_server_update(p->dl_server, delta_exec); in update_curr_task()
1204 s64 delta_exec; in update_curr_common() local
1206 delta_exec = update_curr_se(rq, &curr->se); in update_curr_common()
1207 if (likely(delta_exec > 0)) in update_curr_common()
1208 update_curr_task(curr, delta_exec); in update_curr_common()
1210 return delta_exec; in update_curr_common()
1220 s64 delta_exec; in update_curr() local
1226 delta_exec = update_curr_se(rq, curr); in update_curr()
1227 if (unlikely(delta_exec <= 0)) in update_curr()
1230 curr->vruntime += calc_delta_fair(delta_exec, curr); in update_curr()
1237 update_curr_task(p, delta_exec); in update_curr()
1245 dl_server_update(&rq->fair_server, delta_exec); in update_curr()
1248 account_cfs_rq_runtime(cfs_rq, delta_exec); in update_curr()
5812 static void __account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec) in __account_cfs_rq_runtime() argument
5815 cfs_rq->runtime_remaining -= delta_exec; in __account_cfs_rq_runtime()
5831 void account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec) in account_cfs_rq_runtime() argument
5836 __account_cfs_rq_runtime(cfs_rq, delta_exec); in account_cfs_rq_runtime()
6762 static void account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec) {} in account_cfs_rq_runtime() argument