Function report |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-28 10:40:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static ktime_t __hrtimer_get_next_event(struct hrtimer_cpu_base *cpu_base, unsigned int active_mask)
Type:ktime_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hrtimer_cpu_base * | cpu_base | |
| unsigned int | active_mask |
| 570 | struct hrtimer * next_timer = NULL |
| 571 | expires_next = KTIME_MAX |
| 573 | If Not softirq_activated && active_mask & HRTIMER_ACTIVE_SOFT Then |
| 574 | active = active_bases & HRTIMER_ACTIVE_SOFT |
| 575 | softirq_next_timer = NULL |
| 579 | next_timer = softirq_next_timer |
| 582 | If active_mask & HRTIMER_ACTIVE_HARD Then |
| 583 | active = active_bases & HRTIMER_ACTIVE_HARD |
| 584 | next_timer = next_timer |
| 589 | Return expires_next |
| Name | Describe |
|---|---|
| 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 |
| 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 |