MPC5744P - RAM usage and Processor Workload

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

MPC5744P - RAM usage and Processor Workload

608 Views
ext-rafael_barb
Contributor III

Hi,

I am using the MPC5744P board with Simulink and Freemaster.


How can I do to measure the processor unit workload?
Also, how can I do to measure the MPC5744P RAM memory use?

Kind Regards, Rafael

0 Kudos
1 Reply

515 Views
mariuslucianand
NXP Employee
NXP Employee

Hello ext-rafael.barbosa@chassisbrakes.com‌,

Unfortunately, we don't have a tool to tell exactly what is the the workload and ram size at a certain point in the code execution. 

But, you can check what is the used RAM size by using the arm-none-eabi-size tool and looking to the data and bss memory values. We had a thread before, so please have a look here https://community.nxp.com/message/1103489.

For the workload, well the generated code is executed on a single core so the only thing you can do is to use  the profiler blocks in order to measure the execution time either of a function or to measure the execution time between specific program points. In the MBDT toolbox you can find profiler examples that might help you.

Hope this helps,

Marius

0 Kudos