Arduino uno - calculating and outputting a time for each loop to execute?

unsigned long start_time=millis(); //record start time
...
unsigned long delta_t = millis() - start_time; //the difference