diff --git a/plot_transmission_timeline.py b/plot_transmission_timeline.py index 0cbe628..0b7e62a 100755 --- a/plot_transmission_timeline.py +++ b/plot_transmission_timeline.py @@ -211,9 +211,10 @@ if __name__ == "__main__": else: plt.show() + #goodput cdf plt.clf() - print("Calculate and polt CDF...") + print("Calculate and polt goodput CDF...") plot_cdf(transmission_df, "goodput") plt.xlabel("goodput [mbps]") plt.ylabel("CDF") @@ -221,5 +222,19 @@ if __name__ == "__main__": if args.save: plt.savefig("{}{}_cdf_plot.pdf".format(args.save, "goodput")) + else: + plt.show() + + # rtt cdf + plt.clf() + + print("Calculate and polt rtt CDF...") + plot_cdf(transmission_df, "ack_rtt") + plt.xlabel("ACK RTT [s]") + plt.ylabel("CDF") + plt.legend(["BBR"]) + + if args.save: + plt.savefig("{}{}_cdf_plot.pdf".format(args.save, "ack_rtt")) else: plt.show() \ No newline at end of file