From d2e4aa57cad050216be216c9c398ab887ea44c4f Mon Sep 17 00:00:00 2001 From: Akash Dhiraj Date: Wed, 11 Dec 2024 15:49:16 -0500 Subject: [PATCH] Typo Co-authored-by: Anshuman Mohan <10830208+anshumanmohan@users.noreply.github.com> --- frontends/queues/evaluation/parse_pcap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/queues/evaluation/parse_pcap.py b/frontends/queues/evaluation/parse_pcap.py index df80fa3aa..87e9fa4b6 100755 --- a/frontends/queues/evaluation/parse_pcap.py +++ b/frontends/queues/evaluation/parse_pcap.py @@ -237,7 +237,7 @@ def mac_addr(addr): # compute number of pops between current and previous packet's arrival pop_time = (prev_time % POP_TICK) + prev_time num_pops = int((time - pop_time) // POP_TICK) if time > pop_time else 0 - # keep track of number of unpopped packet's + # keep track of number of unpopped packets pkts_in_switch = 0 if pkts_in_switch < num_pops else pkts_in_switch - num_pops # insert `num_pops` pops for _ in range(num_pops):