Skip to content

Commit

Permalink
Shifted orig DATA pkts lost to the left
Browse files Browse the repository at this point in the history
  • Loading branch information
mbakholdina committed Jul 19, 2023
1 parent a7dc8e2 commit 2e7e52e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified img/get_traffic_stats_report_rcv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions scripts/get_traffic_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,16 @@ def generate_rcv_report(self):
# original DATA packets (received + lost) which equals sent unique
# packets approximately.
print(
f" - Original DATA pkts lost {data_pkts_org_lost_cnt:>26}"
f"- Original DATA pkts lost {data_pkts_org_lost_cnt:>28}"
f" {to_percent(data_pkts_org_lost_cnt, data_pkts_org_rcvd_lost_cnt):>8}%"
" out of orig received+lost DATA pkts"
)
print(
f" Recovered pkts {data_pkts_recovered_cnt:>38}"
f" - Recovered pkts {data_pkts_recovered_cnt:>40}"
f" {to_percent(data_pkts_recovered_cnt, data_pkts_org_rcvd_lost_cnt):>8}%"
)
print(
f" Unrecovered pkts {data_pkts_unrecovered_cnt:>36}"
f" - Unrecovered pkts {data_pkts_unrecovered_cnt:>38}"
f" {to_percent(data_pkts_unrecovered_cnt, data_pkts_org_rcvd_lost_cnt):>8}%"
)

Expand Down

0 comments on commit 2e7e52e

Please sign in to comment.