How to Measure FPS and CPU usage with Qt for MCUs
-
Hello everybody,
I am using STM32H750B-Disco board, and I designed a simple demo with Qt Creator and was able to successfully build and run it on my STM32H750B-Disco board.
And now, I want to measure the FPS and CPU usage of this demo on my board so I can evaluate it better;-
I searched a lot in the documents and even examples and codes, But didn't found anything about CPU usage at all,
-
About FPS I was able to found "QulPerf" from this page of the documents;
But the problem about this is it doesn't work for me at all, "QulPerf.enabled" is false for me although I tried to compile the application with QUL_ENABLE_PERFORMANCE_LOGGING as well; this part of the doc is not clear for me anyways:
This data is only available if Qt Quick Ultralite is compiled with QUL_ENABLE_PERFORMANCE_LOGGING
And it doesn't exactly say how to compile with QUL_ENABLE_PERFORMANCE_LOGGING, as result "QulPerf.fps" shows 0 to me all the time;
I will be very thankful if somebody corrects me and helps me out about these two issues.
Thanks in advance,
Best regards. -
-
Hi @s-a-m, and welcome!
Few members on this community forum have access to Qt for MCUs because it is a commercial-only product. If you don't get an answer here, I suggest you open a commercial support ticket to receive help from MCU experts.
-
-
@s-a-m said in How to Measure FPS and CPU usage with Qt for MCUs:
In fact I'm using 10-days trial license for now, to evaluate Qt for MCU first and then Buy it, So is that possible for me to open a support ticket and get help from MCU experts in this situation?
I believe your trial license entitles you to official support while your license is active.
Have a look at https://account.qt.io/support -- if you signed up for a trial license the website should let you submit a support request
-
@JKSH Yes I have access to submit a support question, but in the "Request type" field I can only select "Account questions" and "Sales question" and there is no "Technical support" option.
Can I ask my question under one of those two types? That's not a problem? -
@s-a-m said in How to Measure FPS and CPU usage with Qt for MCUs:
@JKSH Yes I have access to submit a support question, but in the "Request type" field I can only select "Account questions" and "Sales question" and there is no "Technical support" option.
Ah, that's unfortunate.
Can I ask my question under one of those two types? That's not a problem?
I think it doesn't hurt to try. You'll either get an answer or get "Sorry, we can't offer support here"