函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\tsacct_kern.h Create Date:2022-07-27 06:57:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:acct_account_cputime

函数原型:static inline void acct_account_cputime(struct task_struct *tsk)

返回类型:void

参数:

类型参数名称
struct task_struct *tsk

NULL

调用者
名称描述
account_user_timeAccount user CPU time to a process.*@p: the process that the CPU time gets accounted to*@cputime: the CPU time spent in user space since the last update
account_system_index_timeAccount system CPU time to a process and desired cpustat field*@p: the process that the CPU time gets accounted to*@cputime: the CPU time spent in kernel space since the last update*@index: pointer to cpustat field that has to be updated