Open this program in the mbed Compiler, where you can edit it and compile it for your hardware.
Download this program as .zip file.
This is a simple program that can be used to determine how long a single operation takes. The program outputs the results in microseconds and number of clock cycles.
| main.cpp [code] |