From 4a5856edca60153b9c77e54b93b0aa0919aced79 Mon Sep 17 00:00:00 2001 From: Langspielplatte Date: Sat, 14 Jan 2023 10:15:46 +0100 Subject: [PATCH] Bugfix, plot ack_rtt --- plot_transmission_timeline.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/plot_transmission_timeline.py b/plot_transmission_timeline.py index 268e09f..bc41b5a 100755 --- a/plot_transmission_timeline.py +++ b/plot_transmission_timeline.py @@ -155,7 +155,11 @@ if __name__ == "__main__": lambda x: ((x * 8) / args.interval) / 10**6 ) - # remove all not needed columns + # set meta values and remove all not needed columns + cc_algo = transmission_df["congestion_control"].iloc[0] + cc_algo = cc_algo.upper() + transmission_direction = transmission_df["direction"].iloc[0] + transmission_df = transmission_df.filter(["goodput", "datetime", "ack_rtt"]) # read serial csv @@ -172,11 +176,6 @@ if __name__ == "__main__": left_index=True, ) - cc_algo = transmission_df["congestion_control"].iloc[0] - cc_algo = cc_algo.upper() - - transmission_direction = transmission_df["direction"].iloc[0] - # transmission timeline scaley = 1.5