MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_ktime_hrtimer_process

Function rt_ktime_hrtimer_process

components/drivers/ktime/src/hrtimer.c:166–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void rt_ktime_hrtimer_process(void)
167{
168 rt_base_t level = rt_spin_lock_irqsave(&_spinlock);
169
170 _hrtimer_process_locked();
171 _set_next_timeout_locked();
172
173 rt_spin_unlock_irqrestore(&_spinlock, level);
174}
175
176void rt_ktime_hrtimer_init(rt_ktime_hrtimer_t timer,
177 const char *name,

Callers 1

rk_timer_isrFunction · 0.85

Calls 4

_hrtimer_process_lockedFunction · 0.85
_set_next_timeout_lockedFunction · 0.85
rt_spin_lock_irqsaveFunction · 0.50

Tested by

no test coverage detected