Add latency_ops to compute average latency correctly.