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

Name:task_sample_cputime

Proto:static void task_sample_cputime(struct task_struct *p, u64 *samples)

Type:void

Parameter:

TypeParameterName
struct task_struct *p
u64 *samples
228  task_cputime(p, & utime, & stime)
229  store_samples(samples, stime, utime, sum_exec_runtime)
Caller
NameDescribe
check_thread_timersCheck for any per-thread CPU timers that have fired and move them off* the tsk->cpu_timers[N] list onto the firing list. Here we update the
fastpath_timer_checkastpath_timer_check - POSIX CPU timers fast path.*@tsk: The task (thread) being checked.* Check the task and thread group timers. If both are zero (there are no* timers set) return false. Otherwise snapshot the task and thread group