First implementation of time_it utility.