Update metrics::Timer::stop to return elapsed time.

Review: https://reviews.apache.org/r/24537