[Interest] Application at Idle takes 10% of CPU

Thiago Macieira thiago.macieira at intel.com
Sat Jun 27 21:15:47 CEST 2015


On Saturday 27 June 2015 12:37:56 Michael Jackson wrote:
> Found IT!!. It is a QProgressBar that we are showing even though it has a
> value of 0. if I manually hide it until we start our progress then my
> applications Idle time goes to near 0%.
> 
> Seems like a pretty high CPU usage for just putting a QProgressBar into a
> UI.

Your progress bar while at value 0 might have the "undefined state" mode, in 
which it shows an animation. That animation might be the source of the CPU 
usage.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list