view function run time

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

view function run time

Jump to solution
1,179 Views
qianghu
Contributor II

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

Tags (3)
0 Kudos
1 Solution
1,046 Views
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

View solution in original post

2 Replies
1,047 Views
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

1,046 Views
qianghu
Contributor II

Thank you very much!

0 Kudos