Loading...
 
Skip to main content

System Workbench for STM32


Measure execution time with clock cycle counter on STM32

Hi,

I did not understand the question fully,
But if you want to measure for example a function how long it take to finish
you can steup a timer with a high reslution
and start the timer before the function call and capture the time
and capture the time after the function finish.

mazen

 
Collapse/expand modules below