65 void setTimer(TimerName which, int32_t ms);
66 void setTimerSamples(TimerName which, int32_t samples);
67 void unsetTimer(TimerName which);
69 bool isTimerSet(TimerName which);
70 void setTimerByOtherTimer(TimerName which, TimerName fromTimer);
73 uint32_t timeNextEvent;
74 std::array<
Timer, util::to_underlying(TimerName::NUM_TIMERS)> timers_;
75 void workOutNextEventTime();
78 [[gnu::always_inline]]
inline Timer& getTimer(TimerName which) {
return timers_[util::to_underlying(which)]; }