Home
last modified time | relevance | path

Searched refs:delta_exec (Results 1 – 5 of 5) sorted by relevance

/kernel/sched/
Dstop_task.c69 u64 delta_exec; in put_prev_task_stop() local
71 delta_exec = rq_clock_task(rq) - curr->se.exec_start; in put_prev_task_stop()
72 if (unlikely((s64)delta_exec < 0)) in put_prev_task_stop()
73 delta_exec = 0; in put_prev_task_stop()
76 max(curr->se.statistics.exec_max, delta_exec)); in put_prev_task_stop()
78 curr->se.sum_exec_runtime += delta_exec; in put_prev_task_stop()
79 account_group_exec_runtime(curr, delta_exec); in put_prev_task_stop()
82 cgroup_account_cputime(curr, delta_exec); in put_prev_task_stop()
Ddeadline.c1183 u64 delta_exec, scaled_delta_exec; in update_curr_dl() local
1199 delta_exec = now - curr->se.exec_start; in update_curr_dl()
1200 if (unlikely((s64)delta_exec <= 0)) { in update_curr_dl()
1207 max(curr->se.statistics.exec_max, delta_exec)); in update_curr_dl()
1209 curr->se.sum_exec_runtime += delta_exec; in update_curr_dl()
1210 account_group_exec_runtime(curr, delta_exec); in update_curr_dl()
1213 cgroup_account_cputime(curr, delta_exec); in update_curr_dl()
1226 scaled_delta_exec = grub_reclaim(delta_exec, in update_curr_dl()
1233 scaled_delta_exec = cap_scale(delta_exec, scale_freq); in update_curr_dl()
1277 rt_rq->rt_time += delta_exec; in update_curr_dl()
Drt.c998 u64 delta_exec; in update_curr_rt() local
1005 delta_exec = now - curr->se.exec_start; in update_curr_rt()
1006 if (unlikely((s64)delta_exec <= 0)) in update_curr_rt()
1010 max(curr->se.statistics.exec_max, delta_exec)); in update_curr_rt()
1012 curr->se.sum_exec_runtime += delta_exec; in update_curr_rt()
1013 account_group_exec_runtime(curr, delta_exec); in update_curr_rt()
1016 cgroup_account_cputime(curr, delta_exec); in update_curr_rt()
1026 rt_rq->rt_time += delta_exec; in update_curr_rt()
Dfair.c218 static u64 __calc_delta(u64 delta_exec, unsigned long weight, struct load_weight *lw) in __calc_delta() argument
240 return mul_u64_u32_shr(delta_exec, fact, shift); in __calc_delta()
500 void account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec);
837 u64 delta_exec; in update_curr() local
842 delta_exec = now - curr->exec_start; in update_curr()
843 if (unlikely((s64)delta_exec <= 0)) in update_curr()
849 max(delta_exec, curr->statistics.exec_max)); in update_curr()
851 curr->sum_exec_runtime += delta_exec; in update_curr()
852 schedstat_add(cfs_rq->exec_clock, delta_exec); in update_curr()
854 curr->vruntime += calc_delta_fair(delta_exec, curr); in update_curr()
[all …]
/kernel/cgroup/
Drstat.c365 void __cgroup_account_cputime(struct cgroup *cgrp, u64 delta_exec) in __cgroup_account_cputime() argument
370 rstatc->bstat.cputime.sum_exec_runtime += delta_exec; in __cgroup_account_cputime()
375 enum cpu_usage_stat index, u64 delta_exec) in __cgroup_account_cputime_field() argument
384 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
389 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field()