Cpu Usage Increases While The GUI Is Open???
-
Hey All
Just Got An Email With An Rare Issue from An User.
In the Video He Sent Once The GUI Is Open, His MacBook Pro Shows A High CPU Usage, And as soon As He Closes The GUI It Drops To A Very Low Number.
He is on A Logic Pro, and A High End MacBook Pro.
I Never Received Or Seen Such An Issue,
Any Advice? -
@natan - are you running a timer in a panel?
-
@lindon Yes, A Few Ones, and All Set to 30 ms Higher
Also GUI Is Deferred -
@Lindon The Audio Signal Has No Glitches At All,
Just The Meter On MacBook Shows A High Number,I Just Did A Test With My MacBook And Yeah It Shows The Same CPU Usage
-
@natan Disable the timers and see if the problem goes away, if it does then you know what the cause is.
-
@natan said in Cpu Usage Increases While The GUI Is Open???:
@lindon Yes, A Few Ones, and All Set to 30 ms Higher
Also GUI Is DeferredThe timers will stop when you close the UI - probably why you are seeing this effect.
-
@lindon said in Cpu Usage Increases While The GUI Is Open???:
@natan said in Cpu Usage Increases While The GUI Is Open???:
@lindon Yes, A Few Ones, and All Set to 30 ms Higher
Also GUI Is DeferredThe timers will stop when you close the UI - probably why you are seeing this effect.
Yeah, Exactly
It Is On Graphics,I Also Checked with another Very Very Stable Project which Has 1 Timer.
And Once I Bypass The Effect Containing Timer Animation, CPU Goes Down.BTW, What is The Solution? To Have Timer And Not Having CPU Spikes?
-
@natan said in Cpu Usage Increases While The GUI Is Open???:
To Have Timer And Not Having CPU Spikes?
Use less timers and increase the duration.
-
@d-healey said in Cpu Usage Increases While The GUI Is Open???:
@natan said in Cpu Usage Increases While The GUI Is Open???:
To Have Timer And Not Having CPU Spikes?
Use less timers and increase the duration.
Okey, But Why This?
What is The Conflict on Timers and CPU?
This Makes no Sense At All -
@natan said in Cpu Usage Increases While The GUI Is Open???:
What is The Conflict on Timers and CPU?
A timer does something repeatedly. If you set a timer to 30ms then it will do the same thing every 30ms, depending on what it is doing that can use up a lot of CPU.
-
@d-healey Let Me Investigate And see If I Can Free Up Some Timer Stuffs