High CPU usage problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

High CPU usage problem

524 次查看
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 

标记 (2)
0 项奖励
2 回复数

434 次查看
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 项奖励

403 次查看
aslan_eyyup
Contributor II

Hi @stefancinipeanu 

You can find the report and attached document below. 

Thanks.

11.png22.png

0 项奖励