Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
5.1.1
-
None
-
c74f60b09dc031b19ebfa11718d44fb06a5569b2
Description
Since introduction of Qt::TimerType and defaulting to CoarseTimer the following section of QTimer doc is misleading:
Accuracy and Timer Resolution
Timers will never time out earlier than the specified timeout value and they are not guaranteed to time out at the exact value specified. In many situations, they may time out late by a period of time that depends on the accuracy of the system timers.
The accuracy of timers depends on the underlying operating system and hardware. Most platforms support a resolution of 1 millisecond, though the accuracy of the timer will not equal this resolution in many real-world situations.
If Qt is unable to deliver the requested number of timer clicks, it will silently discard some.