High CPU usage problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

High CPU usage problem

491 Views
aslan_eyyup
Contributor II

For our CPU usage analysis task MathWorks team implemented a simulink example to the Nucleo-F303RE 72 MHz board in PIL mode. I implemented the same example on the MPC5775E board. The CPU usage of the Nucleo-F303RE was about ~0.05% while it was ~0.15% on the MPC5775E for the same example. Since MPC5775E is a more powerful board we expected CPU usage to be smaller.  We discussed it with the MathWorks team and the reason may be the NXP support package. How can we solve this issue?

#MPC5775E 

Tags (2)
0 Kudos
2 Replies

401 Views
stefancinipeanu
NXP Employee
NXP Employee

Hi @aslan_eyyup 

Could you please provide some screenshots with the  entire code execution profiling report for the Nucleo-F303RE? We have some doubts on how profiling measurements are computed.

If you can, we would like to have the report expressed in nanoseconds and also in ticks. To do that, after PIL execution finishes, you can run the following commands in MATLAB Command Window:

report(out.executionProfile, 'Units', 'Ticks')
report(out.executionProfile, 'Units', 'Seconds')

 

0 Kudos

370 Views
aslan_eyyup
Contributor II

Hi @stefancinipeanu 

You can find the report and attached document below. 

Thanks.

11.png22.png

0 Kudos