Use the timer object to measure the time between when you turn on recording and when you stop recording.