PDA

View Full Version : Application consuming 60% of CPU usage ..



wagmare
20th October 2009, 08:27
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 %


please help ..

wysota
20th October 2009, 08:43
Run your application through a profiler and see what takes the most time.

wagmare
20th October 2009, 10:11
thanks for the reply .. can u suggest me a good profiling tool for Qt
OS: Linux Fedora core 7
Qt::4.4.3 Version

high_flyer
20th October 2009, 10:23
http://kcachegrind.sourceforge.net/html/Home.html