函数逻辑报告 |
Source Code:kernel\time\posix-cpu-timers.c |
Create Date:2022-07-27 11:48:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static inline bool fastpath_timer_check(struct task_struct *tsk)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tsk |
1070 | task_sample_cputime(tsk, samples) |
1092 | 如果READ_ONCE(timers_active)且非READ_ONCE(expiry_active)则 |
1095 | proc_sample_cputime_atomic( & cputime_atomic, samples) |
1102 | 如果dl_task(tsk)且dl_overrun则返回:true |
1105 | 返回:false |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |