[Qt-jambi-interest] QPixmap erratic performance
Bart van Deenen
bvandeenen at infologic.nl
Mon Nov 17 10:09:51 CET 2008
On Monday 17 November 2008 09:54:38 Gunnar Sletta wrote:
> > Ok. I'm starting to get somewhere. I've added instrumentation to the
> > code (not shown here) which uses System.currentTimeMillis() to measure
> > intervals, and it turns out that the interval between two consecutive
> > calls to timerEvent is very erratic! My 'render' function (currently
> > with a much simplified QPixmap tree under it) only takes a few ms. The
> > QTimer is supposed to run at 40 ms interval, but the actual intervals
> > are anywhere between 15 and 300 ms!
>
> A timer tries to fire as close to, but at least 40 ms after the last
> one, but there are no guarantees. I've never seen such behaviour, so I
> would have to see your code to know more
I'm simplifying the code to narrow it down to where the problem occurs, and
then I'll post it. Thanks for thinking along.
Bart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-jambi-interest/attachments/20081117/55b75e98/attachment.html
More information about the Qt-jambi-interest
mailing list