Forum

    • Register
    • Login
    • Search
    • Categories

    Cpu Usage Increases While The GUI Is Open???

    Bug Reports
    3
    11
    99
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Natan
      Natan last edited by

      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?

      Lindon 1 Reply Last reply Reply Quote 0
      • Lindon
        Lindon @Natan last edited by

        @natan - are you running a timer in a panel?

        HISE Development for hire.
        www.channelrobot.com

        Natan 1 Reply Last reply Reply Quote 0
        • Natan
          Natan @Lindon last edited by Natan

          @lindon Yes, A Few Ones, and All Set to 30 ms Higher
          Also GUI Is Deferred

          Natan d.healey Lindon 3 Replies Last reply Reply Quote 0
          • Natan
            Natan @Natan last edited by

            @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

            1 Reply Last reply Reply Quote 0
            • d.healey
              d.healey @Natan last edited by

              @natan Disable the timers and see if the problem goes away, if it does then you know what the cause is.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 0
              • Lindon
                Lindon @Natan last edited by

                @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 Deferred

                The timers will stop when you close the UI - probably why you are seeing this effect.

                HISE Development for hire.
                www.channelrobot.com

                Natan 1 Reply Last reply Reply Quote 0
                • Natan
                  Natan @Lindon last edited by

                  @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 Deferred

                  The 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?

                  d.healey 1 Reply Last reply Reply Quote 0
                  • d.healey
                    d.healey @Natan last edited by

                    @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.

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    Natan 1 Reply Last reply Reply Quote 1
                    • Natan
                      Natan @d.healey last edited by

                      @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 🤔

                      d.healey 1 Reply Last reply Reply Quote 0
                      • d.healey
                        d.healey @Natan last edited by

                        @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.

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        Natan 1 Reply Last reply Reply Quote 1
                        • Natan
                          Natan @d.healey last edited by

                          @d-healey Let Me Investigate And see If I Can Free Up Some Timer Stuffs

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          1
                          Online

                          1.1k
                          Users

                          7.0k
                          Topics

                          64.7k
                          Posts