Closed alessandromaggio closed 2 years ago
Add the following packet stats:
self.stats_packets_sen
self.stats_packets_returned
self.stats_packets_lost
self.stats_success_ratio
self.stats_lost_ratio
Add the following packet stats:
self.stats_packets_sen
t = Total packets sentself.stats_packets_returned
= Total packet sent for which we have received a replyself.stats_packets_lost
= stats_packet_sent - stats_packets_returned (computed)self.stats_success_ratio
= stats_packet_returned / stats_packets_sent (computed)self.stats_lost_ratio
= 1 - stats_success_ratio (computed)