Lines Matching refs:delta_exec
308 static u64 __calc_delta(u64 delta_exec, unsigned long weight, struct load_weight *lw) in __calc_delta() argument
332 return mul_u64_u32_shr(delta_exec, fact, shift); in __calc_delta()
559 void account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec);
886 u64 delta_exec; in update_curr() local
891 delta_exec = now - curr->exec_start; in update_curr()
892 if (unlikely((s64)delta_exec <= 0)) in update_curr()
902 max(delta_exec, stats->exec_max)); in update_curr()
905 curr->sum_exec_runtime += delta_exec; in update_curr()
906 schedstat_add(cfs_rq->exec_clock, delta_exec); in update_curr()
908 curr->vruntime += calc_delta_fair(delta_exec, curr); in update_curr()
914 trace_sched_stat_runtime(curtask, delta_exec, curr->vruntime); in update_curr()
915 cgroup_account_cputime(curtask, delta_exec); in update_curr()
916 account_group_exec_runtime(curtask, delta_exec); in update_curr()
919 account_cfs_rq_runtime(cfs_rq, delta_exec); in update_curr()
4879 unsigned long ideal_runtime, delta_exec; in check_preempt_tick() local
4884 delta_exec = curr->sum_exec_runtime - curr->prev_sum_exec_runtime; in check_preempt_tick()
4885 if (delta_exec > ideal_runtime) { in check_preempt_tick()
4900 if (delta_exec < sysctl_sched_min_granularity) in check_preempt_tick()
5190 static void __account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec) in __account_cfs_rq_runtime() argument
5193 cfs_rq->runtime_remaining -= delta_exec; in __account_cfs_rq_runtime()
5209 void account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec) in account_cfs_rq_runtime() argument
5214 __account_cfs_rq_runtime(cfs_rq, delta_exec); in account_cfs_rq_runtime()
5899 static void account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec) {} in account_cfs_rq_runtime() argument