Latency estimator