![](/media/cache/profiles/162c9557a309ce6841dd9a5035da2def.50x50_q85.jpg)
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.