Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| const u64 * | samples | |
| struct posix_cputimers * | pct |
| 1045 | When i < CPUCLOCK_MAX cycle |
| 1049 | Return false |
| Name | Describe |
|---|---|
| fastpath_timer_check | astpath_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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |