[Qt-interest] Application consuming 60% of CPU usage ..
Chandru...
sekarwagmare at gmail.com
Thu Oct 22 19:01:37 CEST 2009
thanks sean .. i will soon report it to u ... sorry for the delay in reply
... also to collin thanks for the link .. .
On Tue, Oct 20, 2009 at 7:30 PM, Colin S. Miller <
no-spam-thank-you at csmiller.demon.co.uk> wrote:
> Sean Harmer 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().
>
> Chandru, Sean
> the xtrace package will decode all the X requests that an application
> makes.
>
> It's available from
> http://packages.debian.org/search?keywords=xtrace
>
> Unless you are running Debian, you probably want the source code from Lenny
> and built it yourself.
>
> HTH,
> Colin S. Miller
> _______________________________________________
> 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/20091022/03013888/attachment.html
More information about the Qt-interest-old
mailing list