Regarding the CPU Usage in arm board for an example of QTableView while scrolling
-
Hi,
I have a QTableview , i have used QStandardItemModel as a model , and added to QTableView, while scrolling . i have observed the CPU % gradually increases to 100%. same does not hold good in Desktop.
May i know what id the reason?.
Guidance will help me.
Thanks. -
I am using Qt Classes , i am not using any custom delegates. Is their any difference in working in Desktop and Arm Board with the the same program?.
-
Hi,
Depends on your Arm board, but it's likely less powerful than your desktop machine CPU/GPU wise. What board are you running your application on ?
-
I am using ARM 11. The application is running on ARM 11.
-
That's an architecture. There are lots of ARM11 based processors/boards. What are you using exactly ?
-
Visiontek Pos device
-
Can you give a link to the device description ?
-
The link is here , here is the link for the specifications of the device
-
Ok, so you have have a single core 1GHz processor with 512MB of RAM.
What size is your model ?
-
Ok, so you have have a single core 1GHz processor with 512MB of RAM.
What size is your model ?
The size is 320 , 240.
-
I meant the data model
-
can u brief me up regarding the data model. what is it.?.
-
can u brief me up regarding the data model. what is it.?.
@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)?
-
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.
-
Then what is the usual size of your database ?
-
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.
-
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.
-
Their was some daemon process running, when i checked the application.
-
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 ?