Latency measurement methods