Utilities for latency measurement and reporting