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:task_cputime

Proto:static inline void task_cputime(struct task_struct *t, u64 *utime, u64 *stime)

Type:void

Parameter:

TypeParameterName
struct task_struct *t
u64 *utime
u64 *stime
29  utime = utime
30  stime = stime
Caller
NameDescribe
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