[Interest] Scalability of QTimer or QObject::startTimer
prashant.me at gmail.com
Fri Oct 26 11:18:00 CEST 2012
I intend to have quite a few QObject inherited classes each implementing a
couple of timers. The resolution of these timers is expected to be around
1000ms. However, QTimer documentation states that
"If Qt is unable to deliver the requested number of timer clicks, it will
silently discard some."
I don't know how to interpret this statement. Does it mean that if a timer
has a very low resolution, some clicks are neglected. OR does it mean that
if a significant number of clicks from various timers happens at around the
same time, clicks will be discarded.
In my application, it is not so important to have the click delivered at
the exact same time, it doesn't matter if clicks are off by x ms. However,
if no clicks are delivered there is a problem. I intend to have around 2000
objects. However, I intend to scale it to around 100,000 QTimers.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest