MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / gpt_event

Function gpt_event

core/timers.c:107–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107static void gpt_event(enum sched_item_id id) {
108 uint64_t next_event;
109 sched_repeat(id, 0); /* re-activate to event cycle */
110 next_event = gpt_next_event(id);
111 if (next_event) {
112 sched_repeat(id, next_event);
113 } else {
114 sched_clear(id);
115 }
116}
117
118static void gpt_delay(enum sched_item_id id) {
119 int index;

Callers

nothing calls this directly

Calls 3

sched_repeatFunction · 0.85
gpt_next_eventFunction · 0.85
sched_clearFunction · 0.85

Tested by

no test coverage detected