How to use a etimer module calculation program execution time

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

How to use a etimer module calculation program execution time

1,332 次查看
张松张
Contributor I

Using SDK etimer configuration module, the realization of the application execution time

0 项奖励
回复
2 回复数

1,160 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

usually we use systick to count program execution time. It is faster and more close to cpu core. Before you execute a program, you read the timer, and after execution, read again. The execution time is the difference.

Of course you can use other timer, such as PIT, LPTMR or PTM. But almost nobody use them in that way.

Regards,

Jing

0 项奖励
回复

1,160 次查看
张松张
Contributor I

Thank you for your reply, now I use SDK configured PIT module to calculate the program execution time function.In addition, I would like to ask a question about whether the STM module must produce an interrupt, whether the interrupt can be shielded.

Look forward to your reply

0 项奖励
回复