MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / tickInterruptHandler

Method tickInterruptHandler

source/scheduler/SoftwareTimerSupervisor.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void SoftwareTimerSupervisor::tickInterruptHandler(const TickClock::time_point timePoint)
34{
35 // execute all software timers that reached their time point
36 decltype(activeList_.begin()) iterator;
37 while (iterator = activeList_.begin(), iterator != activeList_.end() && iterator->getTimePoint() <= timePoint)
38 {
39 auto& softwareTimer = *iterator;
40 SoftwareTimerList::erase(iterator);
41 softwareTimer.run(*this);
42 }
43}
44
45} // namespace internal
46

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected