Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add packet stats#86

Merged
alessandromaggio merged 6 commits into
masteralessandromaggio/pythonping:masterfrom
devalessandromaggio/pythonping:devCopy head branch name to clipboard
Aug 19, 2022
Merged

Add packet stats#86
alessandromaggio merged 6 commits into
masteralessandromaggio/pythonping:masterfrom
devalessandromaggio/pythonping:devCopy head branch name to clipboard

Conversation

@alessandromaggio

Copy link
Copy Markdown
Owner

Add the following packet stats:

  • `self.stats_packets_sen`t = Total packets sent
    
  • `self.stats_packets_returned `= Total packet sent for which we have received a reply
    
  • `self.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)
    

ilyapashuk and others added 6 commits June 25, 2022 18:27
this commits adds a "packets_lost_number" variable to a ResponseList object.
this variable holds an integer number of the lost packets.
added a variable to hold the number of lost packets
@alessandromaggio alessandromaggio merged commit 1c5a69f into master Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.