Function report |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-28 10:40:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Reprogram the event source with checking both queues for the* next event* Called with interrupts disabled and base->lock held
Proto:static void hrtimer_force_reprogram(struct hrtimer_cpu_base *cpu_base, int skip_equal)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If next_timer && is_soft Then |
| 643 | If softirq_activated Then 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 | Else softirq_expires_next = expires_next |
| 650 | If skip_equal && expires_next == expires_next Then Return |
| 653 | expires_next = expires_next |
| 672 | If Not Is the high resolution mode active ? || hang_detected Then Return |
| 675 | tick_program_event(expires_next, 1) |
| Name | Describe |
|---|---|
| __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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |