Detection of an elapsed period of time