函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ask_cputimers_expired - Check whether posix CPU timers are expired*@samples: Array of current samples for the CPUCLOCK clocks*@pct: Pointer to a posix_cputimers container* Returns true if any member of @samples is greater than the corresponding

函数原型:static inline bool task_cputimers_expired(const u64 *samples, struct posix_cputimers *pct)

返回类型:bool

参数:

类型参数名称
const u64 *samples
struct posix_cputimers *pct
1045 i小于CPUCLOCK_MAX循环
1046  如果samples[i]大于等于nextevt则返回:true
1049  返回:false
调用者
名称描述
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