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
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')