函数逻辑报告

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

函数名称:task_cputime

函数原型:static inline void task_cputime(struct task_struct *t, u64 *utime, u64 *stime)

返回类型:void

参数:

类型参数名称
struct task_struct *t
u64 *utime
u64 *stime
29  utime等于utime
30  stime等于stime
调用者
名称描述
apm_cpu_idle
__exit_signalThis function expects the tasklist_lock write-locked.
do_notify_parentLet a parent know about the death of a child.* For a stopped/continued status change, use do_notify_parent_cldstop instead.* Returns true if our parent ignored us and so we've switched to* self-reaping.
do_notify_parent_cldstopdo_notify_parent_cldstop - notify parent of stopped/continued state change*@tsk: task reporting the state change*@for_ptracer: the notification is for ptracer*@why: CLD_{CONTINUED|STOPPED|TRAPPED} to report
thread_group_cputimeAccumulate raw cputime values of dead tasks (sig->[us]time) and live* tasks (sum on group iteration) belonging to @tsk's group.
task_cputime_adjusted
cpu_clock_sampleSample a per-thread clock for the given task. clkid is validated.
task_sample_cputime
acct_collectacct_collect - collect accounting information into pacct_struct*@exitcode: task exit code*@group_dead: not 0, if this thread is the last one in the process.
__delayacct_add_tsk
fill_stats_for_tgid
bacct_add_tskll in basic accounting fields
task_cputime_scaled