Add latency measurements