[Qt-interest] Application consuming 60% of CPU usage ..
Chandru...
sekarwagmare at gmail.com
Tue Oct 20 15:18:00 CEST 2009
thanks for reply ..
yeah i know the problem is in QGraphicsItem::paint() ... but i am having
more than 10 different QGraphicsItem objects ... blindly i painted without
thinking this issue...
i will work it with profiling ..
On Tue, Oct 20, 2009 at 6:34 PM, Sean Harmer <
sean.harmer at maps-technology.com> wrote:
> Hi,
>
> On Tuesday 20 Oct 2009 13:39:03 Chandru... wrote:
> > the Xorg is consuming 60% of the CPU usage ... my application its taking
> > only 6%....
>
> However, I am guessing that the large Xorg CPU usage is caused by many xlib
> painting calls resulting from your graphics items. So profiling your app is
> still the way to go. Most likely culprit is some slow code paths in your
> custom graphics item paint() functions. You may also want to investigate
> QGraphicsItem::setCacheMode().
>
> Sean
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
WAGMARE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091020/c97f8361/attachment.html
More information about the Qt-interest-old
mailing list