Hi,
I want to know what is my execution time for each function. I am using nrf51822 chip and the IDE is IAR Embedded Workbench. How can i calculate the execution time of each function
Hi,
I want to know what is my execution time for each function. I am using nrf51822 chip and the IDE is IAR Embedded Workbench. How can i calculate the execution time of each function
I don't know if IAR has a special function to that, but some generic solutions are:
Toggle a GPIO pin right before and after calling the function then use a logic analyzer to measure the time.
User a timer, capture the timer counter value before and after the execution.