函数逻辑报告 |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-27 11:40:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Recomputes cpu_base::*next_timer and returns the earliest expires_next but* does not set cpu_base::*expires_next, that is done by hrtimer_reprogram
函数原型:static ktime_t __hrtimer_get_next_event(struct hrtimer_cpu_base *cpu_base, unsigned int active_mask)
返回类型:ktime_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct hrtimer_cpu_base * | cpu_base | |
unsigned int | active_mask |
570 | struct hrtimer * next_timer = NULL |
571 | expires_next等于KTIME_MAX |
573 | 如果非softirq_activated且active_mask按位与HRTIMER_ACTIVE_SOFT则 |
575 | softirq_next_timer = NULL |
582 | 如果active_mask按位与HRTIMER_ACTIVE_HARD则 |
584 | next_timer等于next_timer |
589 | 返回:expires_next |
名称 | 描述 |
---|---|
hrtimer_force_reprogram | Reprogram the event source with checking both queues for the* next event* Called with interrupts disabled and base->lock held |
hrtimer_update_softirq_timer |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |