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

Function sched_init

core/schedule.c:558–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558void sched_init(void) {
559 memset(&sched, 0, sizeof sched);
560 for (enum sched_item_id id = 0; id < SCHED_NUM_ITEMS; id++) {
561 sched.items[id].timestamp = SCHED_INACTIVE_FLAG;
562 }
563}
564
565uint64_t sched_total_cycles(void) {
566 return cpu.baseCycles + cpu.cycles;

Callers 1

asic_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected