MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / modTimersScheduleNext

Function modTimersScheduleNext

modules/base/timer/pebble/timer.c:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59static void modTimerEventedExecute(void *);
60
61static void modTimersScheduleNext(void)
62{
63 ModdablePebbleAppState state = (ModdablePebbleAppState)app_state_get_js_memory_api_context();
64 state->eventedTimer = evented_timer_register_or_reschedule(state->eventedTimer,
65 (uint32_t)modTimersNext(), modTimerEventedExecute, C_NULL);
66}
67
68void modTimerEventedExecute(void *)
69{

Callers 5

modTimerEventedExecuteFunction · 0.85
modTimerAddFunction · 0.85
modTimerRescheduleFunction · 0.85
modTimerUnscheduleFunction · 0.85
modTimerRemoveFunction · 0.85

Calls 1

modTimersNextFunction · 0.70

Tested by

no test coverage detected