Added automated RTT calculation.