MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / startTimers

Method startTimers

app/src/Misc/TimerEvents.cpp:104–110  ·  view source on GitHub ↗

* @brief Starts all timers managed by this class. */

Source from the content-addressed store, hash-verified

102 * @brief Starts all timers managed by this class.
103 */
104void Misc::TimerEvents::startTimers()
105{
106 m_uiTimer.start(1000 / m_uiTimerHz, Qt::PreciseTimer, this);
107 m_timer1Hz.start(1000, Qt::PreciseTimer, this);
108 m_timer20Hz.start(1000 / 20, Qt::PreciseTimer, this);
109 m_timer10Hz.start(1000 / 10, Qt::PreciseTimer, this);
110}
111
112/**
113 * @brief Sets the UI timer frequency in Hz.

Callers 1

Calls 1

startMethod · 0.45

Tested by

no test coverage detected