Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-cpu-timers.c Create Date:2022-07-28 10:47:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__thread_group_cputime

Proto:static void __thread_group_cputime(struct task_struct *tsk, u64 *samples)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
u64 *samples
332  Accumulate raw cputime values of dead tasks (sig->[us]time) and live* tasks (sum on group iteration) belonging to @tsk's group.
333  store_samples(samples, stime, utime, sum_exec_runtime)
Caller
NameDescribe
cpu_clock_sample_groupSample a process (thread group) clock for the given task clkid. If the* group's cputime accounting is already enabled, read the atomic* store. Otherwise a full update is required. Task's sighand lock must be