Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\cputime.c Create Date:2022-07-28 09:37:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:read_sum_exec_runtime

Proto:static u64 read_sum_exec_runtime(struct task_struct *t)

Type:u64

Parameter:

TypeParameterName
struct task_struct *t
281  rq = ask_rq_lock - lock p->pi_lock and lock the rq @p resides on.
282  ns = sum_exec_runtime
283  task_rq_unlock(rq, t, & rf)
285  Return ns
Caller
NameDescribe
thread_group_cputimeAccumulate raw cputime values of dead tasks (sig->[us]time) and live* tasks (sum on group iteration) belonging to @tsk's group.