HISE Logo Forum
    • Categories
    • Register
    • Login

    Cpu Usage Increases While The GUI Is Open???

    Scheduled Pinned Locked Moved Bug Reports
    11 Posts 3 Posters 333 Views
    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.
    • NatanN
      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?

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

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

        HISE Development for hire.
        www.channelrobot.com

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

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

          NatanN d.healeyD LindonL 3 Replies Last reply Reply Quote 0
          • NatanN
            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.healeyD
              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
              • LindonL
                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

                NatanN 1 Reply Last reply Reply Quote 0
                • NatanN
                  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.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    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

                    NatanN 1 Reply Last reply Reply Quote 1
                    • NatanN
                      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.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        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

                        NatanN 1 Reply Last reply Reply Quote 1
                        • NatanN
                          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

                          32

                          Online

                          1.8k

                          Users

                          12.1k

                          Topics

                          105.7k

                          Posts