How do you measure the execution CPU cycles for a section of code?
I am running a STM32F466RE with no OS, using the STM32CubeIDE.
Is there a code profiler, or some other way I can measure how many CPU clock cycles it takes for a certain section of code to execute?
I am trying to compare different methods of processing ADC results and trying to find the fastest, or what are the speed hits by doing it one way versus another. Or if it makes a difference what order I execute my statements in.
This should be standard stuff.
