函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\cputime.h Create Date:2022-07-27 06:42:33
Last Modify:2021-07-28 12:50:14 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk)

返回类型:struct thread_group_cputimer

参数:

类型参数名称
struct task_struct *tsk
114  返回:NULL
调用者
名称描述
account_group_user_timeaccount_group_user_time - Maintain utime for a thread group
account_group_system_timeaccount_group_system_time - Maintain stime for a thread group
account_group_exec_runtimeaccount_group_exec_runtime - Maintain exec runtime for a thread group