Listener for periodic ticks from a MainTimer.
Definition: main_timer_listener.h:17
uint64_t getCycleCount() const
Returns the number of completed wait cycles.
Definition: main_timer_listener.cc:37
MainTimerListener()
Constructs a new MainTimerListener instance.
Definition: main_timer_listener.cc:5
uint64_t getTickCount() const
Returns the number of ticks since the first tick received.
Definition: main_timer_listener.cc:35
int64_t getElapsedTime() const
Returns the total elapsed time since the listener was created.
Definition: main_timer_listener.cc:39
void wait()
Waits for the next timer tick and updates internal state.
Definition: main_timer_listener.cc:13