A simple module to measure and record time.