Switch from time.clock to time.time.