Simple timer for use in application metrics