函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:thread_group_cputime_adjusted

函数原型:void thread_group_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st)

返回类型:void

参数:

类型参数名称
struct task_struct *p
u64 *ut
u64 *st
676  Accumulate raw cputime values of dead tasks (sig->[us]time) and live* tasks (sum on group iteration) belonging to @tsk's group.
677  Adjust tick based cputime random precision against scheduler runtime* accounting
调用者
名称描述
do_sys_times
getrusage
wait_task_zombieHandle sys_wait4 work for one task in state EXIT_ZOMBIE. We hold* read_lock(&tasklist_lock) on entry. If we return zero, we still hold* the lock and this task is uninteresting. If we return nonzero, we have