How to check CPU Usage

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

How to check CPU Usage

3,486 次查看
leekate-b45752
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

标签 (1)
0 项奖励
回复
1 回复

3,085 次查看
stanish
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 项奖励
回复