Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/sched/
Dstop_task.c74 u64 now, delta_exec; in put_prev_task_stop() local
77 delta_exec = now - curr->se.exec_start; in put_prev_task_stop()
78 if (unlikely((s64)delta_exec < 0)) in put_prev_task_stop()
79 delta_exec = 0; in put_prev_task_stop()
82 max(curr->stats.exec_max, delta_exec)); in put_prev_task_stop()
84 update_current_exec_runtime(curr, now, delta_exec); in put_prev_task_stop()
Ddeadline.c1302 u64 delta_exec, scaled_delta_exec; in update_curr_dl() local
1318 delta_exec = now - curr->se.exec_start; in update_curr_dl()
1319 if (unlikely((s64)delta_exec <= 0)) { in update_curr_dl()
1326 max(curr->stats.exec_max, delta_exec)); in update_curr_dl()
1328 trace_sched_stat_runtime(curr, delta_exec, 0); in update_curr_dl()
1330 update_current_exec_runtime(curr, now, delta_exec); in update_curr_dl()
1343 scaled_delta_exec = grub_reclaim(delta_exec, in update_curr_dl()
1350 scaled_delta_exec = cap_scale(delta_exec, scale_freq); in update_curr_dl()
1394 rt_rq->rt_time += delta_exec; in update_curr_dl()
Drt.c1053 u64 delta_exec; in update_curr_rt() local
1060 delta_exec = now - curr->se.exec_start; in update_curr_rt()
1061 if (unlikely((s64)delta_exec <= 0)) in update_curr_rt()
1065 max(curr->stats.exec_max, delta_exec)); in update_curr_rt()
1067 trace_sched_stat_runtime(curr, delta_exec, 0); in update_curr_rt()
1069 update_current_exec_runtime(curr, now, delta_exec); in update_curr_rt()
1080 rt_rq->rt_time += delta_exec; in update_curr_rt()
Dfair.c281 static u64 __calc_delta(u64 delta_exec, unsigned long weight, struct load_weight *lw) in __calc_delta() argument
305 return mul_u64_u32_shr(delta_exec, fact, shift); in __calc_delta()
542 void account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec);
1154 u64 delta_exec; in update_curr() local
1159 delta_exec = now - curr->exec_start; in update_curr()
1160 if (unlikely((s64)delta_exec <= 0)) in update_curr()
1170 max(delta_exec, stats->exec_max)); in update_curr()
1173 curr->sum_exec_runtime += delta_exec; in update_curr()
1174 schedstat_add(cfs_rq->exec_clock, delta_exec); in update_curr()
1176 curr->vruntime += calc_delta_fair(delta_exec, curr); in update_curr()
[all …]
Dsched.h3284 u64 now, u64 delta_exec) in update_current_exec_runtime() argument
3286 curr->se.sum_exec_runtime += delta_exec; in update_current_exec_runtime()
3287 account_group_exec_runtime(curr, delta_exec); in update_current_exec_runtime()
3290 cgroup_account_cputime(curr, delta_exec); in update_current_exec_runtime()
/linux-6.6.21/include/linux/
Dcgroup.h709 void __cgroup_account_cputime(struct cgroup *cgrp, u64 delta_exec);
711 enum cpu_usage_stat index, u64 delta_exec);
714 u64 delta_exec) in cgroup_account_cputime() argument
718 cpuacct_charge(task, delta_exec); in cgroup_account_cputime()
722 __cgroup_account_cputime(cgrp, delta_exec); in cgroup_account_cputime()
727 u64 delta_exec) in cgroup_account_cputime_field() argument
731 cpuacct_account_field(task, index, delta_exec); in cgroup_account_cputime_field()
735 __cgroup_account_cputime_field(cgrp, index, delta_exec); in cgroup_account_cputime_field()
741 u64 delta_exec) {} in cgroup_account_cputime() argument
744 u64 delta_exec) {} in cgroup_account_cputime_field() argument
/linux-6.6.21/kernel/cgroup/
Drstat.c401 void __cgroup_account_cputime(struct cgroup *cgrp, u64 delta_exec) in __cgroup_account_cputime() argument
407 rstatc->bstat.cputime.sum_exec_runtime += delta_exec; in __cgroup_account_cputime()
412 enum cpu_usage_stat index, u64 delta_exec) in __cgroup_account_cputime_field() argument
422 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
427 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field()
431 rstatc->bstat.forceidle_sum += delta_exec; in __cgroup_account_cputime_field()