This is a small program we use to see how long something takes. It runs the code in the while loop a lot of times and prints out how many us it took. Then this can be divided by the number of iterations to find the time/clock cycles for each iteration.

Dependencies:   mbed-dsp mbed

Auto generated API documentation and code listings for performance_timer

Code

main.cpp [code]