How to use a etimer module calculation program execution time

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

How to use a etimer module calculation program execution time

1,356件の閲覧回数
张松张
Contributor I

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

0 件の賞賛
返信
2 返答(返信)

1,184件の閲覧回数
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,184件の閲覧回数
张松张
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 件の賞賛
返信