函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-cpu-timers.c Create Date:2022-07-27 11:47:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_sample_cputime

函数原型:static void task_sample_cputime(struct task_struct *p, u64 *samples)

返回类型:void

参数:

类型参数名称
struct task_struct *p
u64 *samples
228  task_cputime(p, & utime, & stime)
229  store_samples(samples, stime, utime, sum_exec_runtime)
调用者
名称描述
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