Searched refs:delta_exec (Results 1 – 4 of 4) sorted by relevance
/kernel/sched/ |
D | stop_task.c | 65 u64 delta_exec; in put_prev_task_stop() local 67 delta_exec = rq_clock_task(rq) - curr->se.exec_start; in put_prev_task_stop() 68 if (unlikely((s64)delta_exec < 0)) in put_prev_task_stop() 69 delta_exec = 0; in put_prev_task_stop() 72 max(curr->se.statistics.exec_max, delta_exec)); in put_prev_task_stop() 74 curr->se.sum_exec_runtime += delta_exec; in put_prev_task_stop() 75 account_group_exec_runtime(curr, delta_exec); in put_prev_task_stop() 78 cpuacct_charge(curr, delta_exec); in put_prev_task_stop()
|
D | deadline.c | 858 u64 delta_exec; in update_curr_dl() local 871 delta_exec = rq_clock_task(rq) - curr->se.exec_start; in update_curr_dl() 872 if (unlikely((s64)delta_exec <= 0)) in update_curr_dl() 879 max(curr->se.statistics.exec_max, delta_exec)); in update_curr_dl() 881 curr->se.sum_exec_runtime += delta_exec; in update_curr_dl() 882 account_group_exec_runtime(curr, delta_exec); in update_curr_dl() 885 cpuacct_charge(curr, delta_exec); in update_curr_dl() 887 dl_se->runtime -= dl_se->dl_yielded ? 0 : delta_exec; in update_curr_dl() 919 rt_rq->rt_time += delta_exec; in update_curr_dl()
|
D | rt.c | 1054 u64 delta_exec; in update_curr_rt() local 1059 delta_exec = rq_clock_task(rq) - curr->se.exec_start; in update_curr_rt() 1060 if (unlikely((s64)delta_exec <= 0)) in update_curr_rt() 1067 max(curr->se.statistics.exec_max, delta_exec)); in update_curr_rt() 1069 curr->se.sum_exec_runtime += delta_exec; in update_curr_rt() 1070 account_group_exec_runtime(curr, delta_exec); in update_curr_rt() 1073 cpuacct_charge(curr, delta_exec); in update_curr_rt() 1075 sched_rt_avg_update(rq, delta_exec); in update_curr_rt() 1085 rt_rq->rt_time += delta_exec; in update_curr_rt()
|
D | fair.c | 232 static u64 __calc_delta(u64 delta_exec, unsigned long weight, struct load_weight *lw) in __calc_delta() argument 254 return mul_u64_u32_shr(delta_exec, fact, shift); in __calc_delta() 485 void account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec); 858 u64 delta_exec; in update_curr() local 863 delta_exec = now - curr->exec_start; in update_curr() 864 if (unlikely((s64)delta_exec <= 0)) in update_curr() 870 max(delta_exec, curr->statistics.exec_max)); in update_curr() 872 curr->sum_exec_runtime += delta_exec; in update_curr() 873 schedstat_add(cfs_rq, exec_clock, delta_exec); in update_curr() 875 curr->vruntime += calc_delta_fair(delta_exec, curr); in update_curr() [all …]
|