[Interest] subclassed QTimer
Thiago Macieira
thiago.macieira at intel.com
Tue Nov 17 17:27:54 CET 2015
On Tuesday 17 November 2015 17:01:40 René J. V. Bertin wrote:
> Thiago Macieira wrote:
> > Please don't set it to PreciseTimer unless you really need millisecond
> > resolution or better (if the 5% error is not acceptable).
>
> Question: does setting the type of a single timer affect all timers, i.e.
> does the overhead of configuring a single (or a handful of) timers depend
> on the total number of timers in use?
It affects the timer that will expire next (the timer with shortest remaining
time). So if you start a 100 ms CoarseTimer and a 575 ms PreciseTimer, the
next wake-up will be in 100 ms ± 5%.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list