Measure the running time of one function on S32K

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

Measure the running time of one function on S32K

Measure the running time of one function on S32K

Hi, 

      ARM Cortex-M have a DWT (Data Watchpoint and Trace) unit implemented, and it has a nice feature in that unit which counts the execution cycles. The DWT is usually implemented on most Cortex-M3, M4 and M7 devices, including e.g. the NXP S32K14x. 

    Attachment is the sample project on S32K142 to measure the running time of a function.

    Password of extraction is nxp.

    Enjoy the measuring!

 

Cheers!

Oliver

BTW, Measure the running time of one function on PowerPC could also be gotten through the link.

附件
100% 有帮助 (1/1)
版本历史
最后更新:
‎05-17-2020 08:58 PM
更新人: