函数逻辑报告 |
Source Code:kernel\time\posix-cpu-timers.c |
Create Date:2022-07-27 11:47:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check for any per-thread CPU timers that have fired and move them off* the tsk->cpu_timers[N] list onto the firing list. Here we update the
函数原型:static void check_thread_timers(struct task_struct *tsk, struct list_head *firing)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | tsk | >it_*_expires values to reflect the remaining thread CPU timers. |
| struct list_head * | firing |
| 833 | 如果dl_task(>it_*_expires values to reflect the remaining thread CPU timers.)则check_dl_overrun(>it_*_expires values to reflect the remaining thread CPU timers.) |
| 840 | collect_posix_cputimers(pct, samples, firing) |
| 845 | soft等于task_rlimit(>it_*_expires values to reflect the remaining thread CPU timers., RLIMIT_RTTIME) |
| 846 | 如果soft不等于RLIM_INFINITY则 |
| 848 | rttime等于timeout乘USEC_PER_SEC除HZ |
| 849 | hard等于task_rlimit_max(>it_*_expires values to reflect the remaining thread CPU timers., RLIMIT_RTTIME) |
| 852 | 如果hard不等于RLIM_INFINITY且check_rlimit(rttime, hard, SIGKILL, true, true)则返回 |
| 857 | 如果check_rlimit(rttime, soft, SIGXCPU, true, false)则 |
| 858 | soft加等于USEC_PER_SEC |
| 863 | 如果Check whether all cache entries contain U64_MAX, i.e. eternal expiry time 则tick_dep_clear_task(>it_*_expires values to reflect the remaining thread CPU timers., TICK_DEP_BIT_POSIX_TIMER) |
| 名称 | 描述 |
|---|---|
| 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 插件可实现:逻辑报告 代码生成和批量转换代码 |