How to monitor CPU/Stack/Memory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to monitor CPU/Stack/Memory

ソリューションへジャンプ
1,675件の閲覧回数
leekate-b45752
NXP Employee
NXP Employee

Hello, 

How can I check the CPU load, Stack/Memory usage on S32DS for ARM v2.2 or v3.3?

If it could be measured quantitatively, CPU load especially, is it possible to monitor during debug mode?

Best regards,

Kate Lee

0 件の賞賛
返信
1 解決策
1,671件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi Kate, 

it depends on app running on MCU. If you are using for example FreeRTOS, for CPU load you can use Idle task hook. Also used stack memory is available. 

 

If it is app without OS, I'm afraid that customer needs to write his own functions for CPU load monitoring and some kind of memory management. As far as I know, there is no HW support for that on S32K1xx (assuming that question is related to this MCU). 

 

BR, 

Jiri 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,672件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi Kate, 

it depends on app running on MCU. If you are using for example FreeRTOS, for CPU load you can use Idle task hook. Also used stack memory is available. 

 

If it is app without OS, I'm afraid that customer needs to write his own functions for CPU load monitoring and some kind of memory management. As far as I know, there is no HW support for that on S32K1xx (assuming that question is related to this MCU). 

 

BR, 

Jiri 

0 件の賞賛
返信