MCPcopy Create free account
hub / github.com/coreboot/coreboot / timers_run

Function timers_run

src/lib/timer_queue.c:169–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169int timers_run(void)
170{
171 struct timeout_callback *tocb;
172 struct mono_time current_time;
173
174 timer_monotonic_get(&current_time);
175 tocb = timer_queue_expired(&global_timer_queue, &current_time);
176
177 if (tocb != NULL)
178 tocb->callback(tocb);
179
180 return !timer_queue_empty(&global_timer_queue);
181}

Callers 2

bs_run_timersFunction · 0.85
idle_threadFunction · 0.85

Calls 3

timer_queue_expiredFunction · 0.85
timer_queue_emptyFunction · 0.85
timer_monotonic_getFunction · 0.50

Tested by

no test coverage detected