Stopwatch class.