函数逻辑报告 |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-27 11:40:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Reprogram the event source with checking both queues for the* next event* Called with interrupts disabled and base->lock held
函数原型:static void hrtimer_force_reprogram(struct hrtimer_cpu_base *cpu_base, int skip_equal)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct hrtimer_cpu_base * | cpu_base | |
| int | skip_equal |
| 635 | expires_next等于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 |
| 637 | 如果next_timer且is_soft则 |
| 643 | 如果softirq_activated则expires_next等于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 |
| 646 | 否则softirq_expires_next等于expires_next |
| 650 | 如果skip_equal且expires_next恒等于expires_next则返回 |
| 653 | expires_next等于expires_next |
| 675 | tick_program_event(expires_next, 1) |
| 名称 | 描述 |
|---|---|
| __remove_hrtimer | __remove_hrtimer - internal function to remove a timer* Caller must hold the base lock.* High resolution timer mode reprograms the clock event device when the* timer is the one which expires next. The caller can disable this by setting* reprogram to zero |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |