[Qt-interest] Application consuming 60% of CPU usage ..

Chandru... sekarwagmare at gmail.com
Tue Oct 20 13:05:28 CEST 2009


thanks for reply ...

On Tue, Oct 20, 2009 at 3:22 PM, Sean Harmer <
sean.harmer at maps-technology.com> wrote:

> On Tuesday 20 Oct 2009 10:10:45 Chandru... wrote:
> > Hi friends,
> >
> > I developed my qt application with QGraphicsView and QGraphicsItem ..
> >
> > most of the button i painted my own in different shapes ..
> >
> > the problem is when i run my application the Xorg consumes 60% of the CPU
> > usage ...
> >
> > why it consuming this much process ...?
> > is there any way to overcome this problem .. just to reduce by 20% or 30
> %
> >
> > also suggest me a good profiling tool for Qt ..
>
> valgrind --tool=callgrind <your-app>
>
> Then look at the output with kcachegrind, sort on the "self" column to see
> what is taking the time.
>
> Eliminate the bottleneck. Rinse and repeat.
>
> Sean
>
> ps Valgrind also has other tools useful for finding memory leaks, common
> threading problems etc. Read the docs or google for more info
> _______________________________________________
> 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/2014ef3f/attachment.html 


More information about the Qt-interest-old mailing list