A simple and accurate timer.