Improved timing accuracy in the Registrar.

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