函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\cputime.c Create Date:2022-07-27 10:38:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:read_sum_exec_runtime

函数原型:static u64 read_sum_exec_runtime(struct task_struct *t)

返回类型:u64

参数:

类型参数名称
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  返回:ns
调用者
名称描述
thread_group_cputimeAccumulate raw cputime values of dead tasks (sig->[us]time) and live* tasks (sum on group iteration) belonging to @tsk's group.