Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. CPU utilization is high When mouse moves
Forum Updated to NodeBB v4.3 + New Features

CPU utilization is high When mouse moves

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 3 Posters 2.0k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    Apeksha
    wrote on last edited by Apeksha
    #1

    Hi,

    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

    jsulmJ 1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      More info needed: hardware, OS, Qt version, at least.

      1 Reply Last reply
      1
      • A Apeksha

        Hi,

        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

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Apeksha To add to @Wieland : do you do anything special on mouse move (did you for example override mouseMoveEvent?)?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        A 1 Reply Last reply
        1
        • jsulmJ jsulm

          @Apeksha To add to @Wieland : do you do anything special on mouse move (did you for example override mouseMoveEvent?)?

          A Offline
          A Offline
          Apeksha
          wrote on last edited by
          #4

          @jsulm

          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.

          jsulmJ 1 Reply Last reply
          0
          • A Apeksha

            @jsulm

            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.

            jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Apeksha What is the utilization of the CPU when you move the mouse cursor over your application?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            A 1 Reply Last reply
            0
            • jsulmJ jsulm

              @Apeksha What is the utilization of the CPU when you move the mouse cursor over your application?

              A Offline
              A Offline
              Apeksha
              wrote on last edited by
              #6

              @jsulm

              It's up to 40 % to 50% when mouse was moving and it's only 5% to 6% when mouse was not moving.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Apeksha
                wrote on last edited by
                #7

                What could be the reason? Anyone please help me..

                jsulmJ 1 Reply Last reply
                0
                • A Apeksha

                  What could be the reason? Anyone please help me..

                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Apeksha What graphics backend do you use? LinuxFB, wayland, X11,...?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A 1 Reply Last reply
                  1
                  • jsulmJ jsulm

                    @Apeksha What graphics backend do you use? LinuxFB, wayland, X11,...?

                    A Offline
                    A Offline
                    Apeksha
                    wrote on last edited by
                    #9

                    @jsulm

                    X11

                    1 Reply Last reply
                    1

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved