24 bool isRunning()
const;
25 double frequency()
const;
31 void setMaximumAccuracy(
bool);
33 void timerEvent(QTimerEvent *k)
override;
34 std::unique_ptr<HighResolutionTimerPrivate> d;
37class SCORE_LIB_BASE_EXPORT
Timers :
public QObject
44 explicit Timers(QObject* parent =
nullptr);
53 std::unique_ptr<HighResolutionTimer> timer;
54 ossia::small_flat_map<QObject*, int, 8> users;
57 mutable std::mutex m_mutex;
58 ossia::small_flat_map<double, TimerEntry, 16> m_timers;