[Qt-interest] Application consuming 60% of CPU usage ..
Sean Harmer
sean.harmer at maps-technology.com
Tue Oct 20 15:04:19 CEST 2009
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
More information about the Qt-interest-old
mailing list