I would like to have a file including the estimation of the execution cycles of some functions. I have several options:
-By using debug options, I can toggle pins that my application is not using after entering and before exiting, in order to measure with a scope the time a function lasts;
-Through the Hiware debugger, I could look at the cycle counter and calculate the number of cycles,
-Look into some files generated by the compiler and look for information related to the cycles in order to calculate these cycles.
I know that it is a bit difficult since it depends on factor like the number of iteration that a for structure could have, but I am wondering how to estimate these number of cycles.
Which is your recommendation?
Thank you and best regards!