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

Name: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

Proto:static inline bool task_cputimers_expired(const u64 *samples, struct posix_cputimers *pct)

Type:bool

Parameter:

TypeParameterName
const u64 *samples
struct posix_cputimers *pct
1045  When i < CPUCLOCK_MAX cycle
1046  If samples[i] >= nextevt Then Return true
1049  Return false
Caller
NameDescribe
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