Function report |
Source Code:kernel\time\posix-cpu-timers.c |
Create Date:2022-07-28 10:48:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static inline bool fastpath_timer_check(struct task_struct *tsk)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk |
1070 | task_sample_cputime(tsk, samples) |
1075 | sig = Signal handlers: |
1092 | If READ_ONCE(timers_active) && Not READ_ONCE(expiry_active) Then |
1095 | proc_sample_cputime_atomic( & cputime_atomic, samples) |
1102 | If dl_task(tsk) && dl_overrun Then Return true |
1105 | Return false |
Name | Describe |
---|---|
run_posix_cpu_timers | This is called from the timer interrupt handler. The irq handler has* already updated our counts. We need to check if any timers fire now.* Interrupts are disabled. |
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 |