Starts a timer for measuring the duration of an operation and returns the elapsed time in seconds.
A double representing the elapsed time in seconds.
The operation to time.