Collect counter and elapsed time metrics for logging or other reporting.