Added time measurements, prints them