Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Regarding the CPU Usage in arm board for an example of QTableView while scrolling
Forum Updated to NodeBB v4.3 + New Features

Regarding the CPU Usage in arm board for an example of QTableView while scrolling

Scheduled Pinned Locked Moved Unsolved General and Desktop
28 Posts 5 Posters 7.7k Views 2 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.
  • Pradeep KumarP Offline
    Pradeep KumarP Offline
    Pradeep Kumar
    wrote on last edited by
    #5

    I am using ARM 11. The application is running on ARM 11.

    Pradeep Kumar
    Qt,QML Developer

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #6

      That's an architecture. There are lots of ARM11 based processors/boards. What are you using exactly ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Pradeep KumarP Offline
        Pradeep KumarP Offline
        Pradeep Kumar
        wrote on last edited by
        #7

        Visiontek Pos device

        Pradeep Kumar
        Qt,QML Developer

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #8

          Can you give a link to the device description ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • Pradeep KumarP Offline
            Pradeep KumarP Offline
            Pradeep Kumar
            wrote on last edited by Pradeep Kumar
            #9

            The link is here , here is the link for the specifications of the device

            Pradeep Kumar
            Qt,QML Developer

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #10

              Ok, so you have have a single core 1GHz processor with 512MB of RAM.

              What size is your model ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              Pradeep KumarP 1 Reply Last reply
              0
              • SGaistS SGaist

                Ok, so you have have a single core 1GHz processor with 512MB of RAM.

                What size is your model ?

                Pradeep KumarP Offline
                Pradeep KumarP Offline
                Pradeep Kumar
                wrote on last edited by
                #11

                @SGaist

                The size is 320 , 240.

                Pradeep Kumar
                Qt,QML Developer

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #12

                  I meant the data model

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  Pradeep KumarP 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    I meant the data model

                    Pradeep KumarP Offline
                    Pradeep KumarP Offline
                    Pradeep Kumar
                    wrote on last edited by
                    #13

                    @SGaist

                    can u brief me up regarding the data model. what is it.?.

                    Pradeep Kumar
                    Qt,QML Developer

                    jsulmJ 1 Reply Last reply
                    0
                    • Pradeep KumarP Pradeep Kumar

                      @SGaist

                      can u brief me up regarding the data model. what is it.?.

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #14

                      @Pradeep-Kumar From your first post: "i have used QStandardItemModel as a model" - so I guess the question is how big is this model (how many elements does it contain)?

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

                      1 Reply Last reply
                      1
                      • Pradeep KumarP Offline
                        Pradeep KumarP Offline
                        Pradeep Kumar
                        wrote on last edited by
                        #15

                        The standard item model data was having 3 columns and the rows values depends on DB values. it will increase as per the db values.

                        Pradeep Kumar
                        Qt,QML Developer

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #16

                          Then what is the usual size of your database ?

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • Pradeep KumarP Offline
                            Pradeep KumarP Offline
                            Pradeep Kumar
                            wrote on last edited by
                            #17

                            Without Db also i tried the same, again i have observed the CPU % gradually increases to 100%. i didnt understand the behaviour. please guide me.

                            Pradeep Kumar
                            Qt,QML Developer

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #18

                              Without any test case to run, it's pretty much impossible to help you get further. There's also no information about what else is running on your target or what your application does that might or might not be influenced by what happens in your GUI.

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • Pradeep KumarP Offline
                                Pradeep KumarP Offline
                                Pradeep Kumar
                                wrote on last edited by
                                #19

                                Their was some daemon process running, when i checked the application.

                                Pradeep Kumar
                                Qt,QML Developer

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #20

                                  Use top to see which is the processor hog: Likely your application but you have to verify to be sure.

                                  After that confirmation, it would also be useful if you could describe precisely how you trigger that CPU load.

                                  On a side note: which version of Qt are you using ? With which plugin ?

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  0
                                  • Pradeep KumarP Offline
                                    Pradeep KumarP Offline
                                    Pradeep Kumar
                                    wrote on last edited by
                                    #21

                                    I will check the process bu using command top.
                                    I am using Qt version 5.7.

                                      <After that confirmation, it would also be useful if you could describe precisely how you trigger that CPU load.>
                                    

                                    I didnt get the above statement.

                                    Pradeep Kumar
                                    Qt,QML Developer

                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #22

                                      After you confirmed that the CPU hog is indeed your application. It would be useful that you describe precisely what you do that makes the CPU go wild.

                                      You didn't wrote which plugin you were using for your application. xcb ? wayland ? eglfs ?

                                      Interested in AI ? www.idiap.ch
                                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                      1 Reply Last reply
                                      0
                                      • Pradeep KumarP Offline
                                        Pradeep KumarP Offline
                                        Pradeep Kumar
                                        wrote on last edited by
                                        #23

                                        Sorry about that missed to inform the plugin, I am using .xcb plugin.

                                        Pradeep Kumar
                                        Qt,QML Developer

                                        1 Reply Last reply
                                        0
                                        • Pradeep KumarP Offline
                                          Pradeep KumarP Offline
                                          Pradeep Kumar
                                          wrote on last edited by
                                          #24

                                          Here is link of the screenshot of the cpu usage of the application
                                          Application name is TableViewExample

                                          https://postimg.org/image/awmpgc3wt/

                                          Pradeep Kumar
                                          Qt,QML Developer

                                          1 Reply Last reply
                                          0

                                          • Login

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