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:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hread_group_sample_cputime - Sample cputime for a given task*@tsk: Task for which cputime needs to be started*@samples: Storage for time samples* Called from sys_getitimer() to calculate the expiry time of an active* timer

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

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
u64 *samples
279  cputimer = cputimer
280  pct = Empty if CONFIG_POSIX_CPUTIMERS=n
282  WARN_ON_ONCE(!timers_active)
284  proc_sample_cputime_atomic( & cputime_atomic, samples)
Caller
NameDescribe
get_cpu_itimer