Switch to using a timer.

There's more work to do here since we still need to track the
starting time of a span.