QtCraft API C++ classes QML types Handbook

QcTimerResolution Class

Asks the system for timers to the millisecond while it lives. More...

Header: #include <server/tick/QcTimerResolution.h>

Public Functions

QcTimerResolution()
QcTimerResolution(const QcTimerResolution &)
QcTimerResolution &operator=(const QcTimerResolution &)

Detailed Description

Windows otherwise wakes timers and sleeps in steps of its scheduler tick (about 15.6 ms), so the server's ticks would start 15-30 ms late; macOS and Linux need nothing (decision E-901).

Member Function Documentation

[constexpr noexcept default] QcTimerResolution::QcTimerResolution()

Default-constructs an instance of QcTimerResolution.

[delete] QcTimerResolution::QcTimerResolution(const QcTimerResolution &)

Copy-constructs an instance of QcTimerResolution. This function is deleted.

[delete] QcTimerResolution &QcTimerResolution::operator=(const QcTimerResolution &)

Copy-assigns other to this QcTimerResolution instance. This function is deleted.