Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\cputime.h Create Date:2022-07-28 05:40:42
Last Modify:2021-07-28 12:50:14 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:account_group_exec_runtime - Maintain exec runtime for a thread group

Proto:static inline void account_group_exec_runtime(struct task_struct *tsk, unsigned long long ns)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
unsigned long longns
173  cputimer = The following are functions that support scheduler-internal time accounting.* These functions are generally called at the timer tick. None of this depends* on CONFIG_SCHEDSTATS.
175  If Not cputimer Then Return
178  atomic64_add(ns, & sum_exec_runtime)
Caller
NameDescribe
update_currUpdate the current task's runtime statistics.
update_curr_rtUpdate the current task's runtime statistics. Skip current tasks that* are not in our scheduling class.
update_curr_dlUpdate the current task's runtime statistics (provided it is still* a -deadline task and has not been removed from the dl_rq).
put_prev_task_stop