Added latency calculation.