函数逻辑报告 |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-27 11:40:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:When a timer is enqueued and expires earlier than the already enqueued* timers, we have to check, whether it expires earlier than the timer for* which the clock event device was armed.* Called with interrupts disabled and base->cpu_base.lock held
函数原型:static void hrtimer_reprogram(struct hrtimer *timer, bool reprogram)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct hrtimer * | timer | |
| bool | reprogram |
| 781 | WARN_ON_ONCE(hrtimer_get_expires_tv64(timer) < 0) |
| 790 | 如果is_soft则 |
| 798 | timer_cpu_base等于cpu_base |
| 800 | 如果softirq_activated则返回 |
| 803 | 如果非时间比较则返回 |
| 806 | softirq_next_timer等于timer |
| 828 | 如果in_hrtirq则返回 |
| 831 | 如果expires大于等于expires_next则返回 |
| 835 | next_timer等于timer |
| 836 | expires_next等于expires |
| 854 | tick_program_event(expires, 1) |
| 名称 | 描述 |
|---|---|
| hrtimer_update_softirq_timer | |
| hrtimer_start_range_ns | hrtimer_start_range_ns - (re)start an hrtimer*@timer: the timer to be added*@tim: expiry time*@delta_ns: "slack" range for the timer*@mode: timer mode: absolute (HRTIMER_MODE_ABS) or* relative (HRTIMER_MODE_REL), and pinned (HRTIMER_MODE_PINNED);* softirq |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |