How to check CPU Usage

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check CPU Usage

537 Views
NXP Employee
NXP Employee

Hello, 

In S32 DS for ARM, how can I check the CPU usage or calculate MIPS? 

Also, is there any checking tool about the stack memory usage according to the functions in the SW? 

Best regards,

Kate Lee

Labels (1)
0 Kudos
1 Reply

136 Views
NXP Employee
NXP Employee

Hi Kate,

I assume you are using GCC in S32DS.

I found a nice article by Erich related to the static stack usage estimation using gcc tools:

GNU Static Stack Usage Analysis | MCU on Eclipse 

If you are using FreeRTOS you can watch dynamic stack usage of each task in the Task List:

pastedImage_2.png

For the bareboard setup we don't offer any sophisticated tool for stack usage/CPU usage.

Stan

0 Kudos