Clocks are system (hardware, OS) dependent. Documentation (
http://doc.qt.io/qt-5/qtimer.html) says 1 ms can be expected. You may want to keep track of events using a separate clock (rather than relying on a QTimer timeout event). The python time module should help there (
https://docs.python.org/3/library/time.html), where you can query the accuracy of the system clock(s), and access the perf_counter() to get the most accurate system clock available.