RTT and PLR(Packet Loss Ratio)

And i have to show a complete working solution with RTT and PLR