Measure the time it takes to get time