Tool/software: TI C/C++ Compiler
Hello this is my code:
int main () { while (1) get_inputs() ; some_elaborate_function(); }
I want to know how long it takes for "some_elaborate_function()" to execute on my TI launchpad.
The only method I know is to use one of the microcontroller's timer peripherals to start counting one line before the function is called and read the count value when the function returns.
Is there a better / simpler way ?