函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:It would make sense to put struct rusage in the task_struct,* except that would make the task_struct be *really big*

函数原型:static void accumulate_thread_rusage(struct task_struct *t, struct rusage *r)

返回类型:void

参数:

类型参数名称
struct task_struct *t
struct rusage *r
1699  voluntary context switches 加等于切换计数
1700  involuntary " 加等于上下文切换计数
1701  page reclaims 加等于换页信息
1702  page faults 加等于换页信息
1703  block input operations 加等于task_io_get_inblock(t)
1704  block output operations 加等于task_io_get_oublock(t)
调用者
名称描述
getrusage