Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\cputime.h Create Date:2022-07-28 05:40:41
Last Modify:2021-07-28 12:50:14 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:account_group_system_time - Maintain stime for a thread group

Proto:static inline void account_group_system_time(struct task_struct *tsk, u64 cputime)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
u64cputime
152  cputimer = The following are functions that support scheduler-internal time accounting.* These functions are generally called at the timer tick. None of this depends* on CONFIG_SCHEDSTATS.
154  If Not cputimer Then Return
157  atomic64_add(cputime, & stime)
Caller
NameDescribe
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