Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1311 u64 delta_exec, scaled_delta_exec; in update_curr_dl() local
1327 delta_exec = now - curr->se.exec_start; in update_curr_dl()
1328 if (unlikely((s64)delta_exec <= 0)) { in update_curr_dl()
1335 max(curr->stats.exec_max, delta_exec)); in update_curr_dl()
1337 trace_sched_stat_runtime(curr, delta_exec, 0); in update_curr_dl()
1339 update_current_exec_runtime(curr, now, delta_exec); in update_curr_dl()
1352 scaled_delta_exec = grub_reclaim(delta_exec, in update_curr_dl()
1359 scaled_delta_exec = cap_scale(delta_exec, scale_freq); in update_curr_dl()
1403 rt_rq->rt_time += delta_exec; in update_curr_dl()
Drt.c1049 u64 delta_exec; in update_curr_rt() local
1056 delta_exec = now - curr->se.exec_start; in update_curr_rt()
1057 if (unlikely((s64)delta_exec <= 0)) in update_curr_rt()
1061 max(curr->stats.exec_max, delta_exec)); in update_curr_rt()
1063 trace_sched_stat_runtime(curr, delta_exec, 0); in update_curr_rt()
1065 update_current_exec_runtime(curr, now, delta_exec); in update_curr_rt()
1076 rt_rq->rt_time += delta_exec; in update_curr_rt()
Dfair.c308 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()
[all …]
Dsched.h3222 u64 now, u64 delta_exec) in update_current_exec_runtime() argument
3224 curr->se.sum_exec_runtime += delta_exec; in update_current_exec_runtime()
3225 account_group_exec_runtime(curr, delta_exec); in update_current_exec_runtime()
3228 cgroup_account_cputime(curr, delta_exec); in update_current_exec_runtime()
/linux-6.1.9/include/linux/
Dcgroup.h783 void __cgroup_account_cputime(struct cgroup *cgrp, u64 delta_exec);
785 enum cpu_usage_stat index, u64 delta_exec);
788 u64 delta_exec) in cgroup_account_cputime() argument
792 cpuacct_charge(task, delta_exec); in cgroup_account_cputime()
796 __cgroup_account_cputime(cgrp, delta_exec); in cgroup_account_cputime()
801 u64 delta_exec) in cgroup_account_cputime_field() argument
805 cpuacct_account_field(task, index, delta_exec); in cgroup_account_cputime_field()
809 __cgroup_account_cputime_field(cgrp, index, delta_exec); in cgroup_account_cputime_field()
815 u64 delta_exec) {} in cgroup_account_cputime() argument
818 u64 delta_exec) {} in cgroup_account_cputime_field() argument
/linux-6.1.9/kernel/cgroup/
Drstat.c409 void __cgroup_account_cputime(struct cgroup *cgrp, u64 delta_exec) in __cgroup_account_cputime() argument
415 rstatc->bstat.cputime.sum_exec_runtime += delta_exec; in __cgroup_account_cputime()
420 enum cpu_usage_stat index, u64 delta_exec) in __cgroup_account_cputime_field() argument
430 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
435 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field()
439 rstatc->bstat.forceidle_sum += delta_exec; in __cgroup_account_cputime_field()