Using SDK etimer configuration module, the realization of the application execution time
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
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