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

Function muldiv_ceil

core/schedule.c:187–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185
186#if 0
187static uint32_t muldiv_ceil(uint32_t value, struct sched_clock *numer, struct sched_clock *denom) {
188 if (likely(numer->tick_unit == denom->tick_unit)) {
189 return value;
190 } else {
191 return (uint32_t)div_ceil((uint64_t)value * numer->tick_unit, denom);
192 }
193}
194#endif
195
196void sched_run_event(enum sched_item_id id) {

Callers

nothing calls this directly

Calls 1

div_ceilFunction · 0.85

Tested by

no test coverage detected