CPU utilization is high When mouse moves
I am getting high CPU utilization when mouse moves in my application.
Can anybody please tell the reason why it's happening?
Thanks in advance
More info needed: hardware, OS, Qt version, at least.
@Apeksha To add to @Wieland : do you do anything special on mouse move (did you for example override mouseMoveEvent?)?
I am doing a embedded video processing application running on a combination of APU (SMP Linux), RPU (bare-metal) and PL.
Qt-version is 5.7.1 and OS details are as follows:
Linux zcu102_base_trd 4.9.0-xilinx-v2017.2 #1 SMP Thu Aug 10 19:44:13 PDT 2017 aarch64 aarch64 aarch64 GNU/Linux
Yes I am using mouseMoveEvent, but without using mouseMoveEvent also I am getting same result.
@Apeksha What is the utilization of the CPU when you move the mouse cursor over your application?
It's up to 40 % to 50% when mouse was moving and it's only 5% to 6% when mouse was not moving.
What could be the reason? Anyone please help me..
@Apeksha What graphics backend do you use? LinuxFB, wayland, X11,...?