use time.time instead of time.clock