view function run time

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

view function run time

跳至解决方案
2,217 次查看
qianghu
Contributor II

With IAR Embedded Workbench 、PE and S32K146,how I can view the time a function run?

标记 (3)
0 项奖励
回复
1 解答
2,084 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

This is rather a question for IAR support.

But if you want to measure the execution time of a function, you can use DWT. 

ARM Information Center 

Cycle Counting on ARM Cortex-M with DWT | MCU on Eclipse 

Regards,

Daniel

在原帖中查看解决方案

2 回复数
2,085 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

This is rather a question for IAR support.

But if you want to measure the execution time of a function, you can use DWT. 

ARM Information Center 

Cycle Counting on ARM Cortex-M with DWT | MCU on Eclipse 

Regards,

Daniel

2,084 次查看
qianghu
Contributor II

Thank you very much!

0 项奖励
回复