Plot pcid and scid.
This commit is contained in:
@@ -44,7 +44,7 @@ if __name__ == "__main__":
|
||||
|
||||
print("\rProcessing {} out of {} CSVs.\t({}%)\t".format(counter, len(pcap_csv_list), math.floor(counter/len(pcap_csv_list))))
|
||||
|
||||
try:
|
||||
#try:
|
||||
transmission_df = pd.read_csv(
|
||||
"{}{}".format(args.pcap_csv_folder, csv),
|
||||
dtype=dict(is_retranmission=bool, is_dup_ack=bool),
|
||||
@@ -95,11 +95,11 @@ if __name__ == "__main__":
|
||||
|
||||
scaley = 1.5
|
||||
scalex = 1.0
|
||||
fig, ax0 = plt.subplots(211, figsize=[6.4 * scaley, 4.8 * scalex])
|
||||
ax0 = plt.subplot(211)
|
||||
ax1 = ax0.twinx()
|
||||
ax2 = ax0.twinx()
|
||||
|
||||
fig, ax00 = plt.subplots(212)
|
||||
ax00 = plt.subplot(212)
|
||||
ax01 = ax00.twinx()
|
||||
|
||||
plt.title("{} with {}".format(transmission_direction, cc_algo))
|
||||
@@ -158,9 +158,9 @@ if __name__ == "__main__":
|
||||
|
||||
if args.save:
|
||||
plt.savefig("{}{}_plot.pdf".format(args.save, csv.replace(".csv", "")))
|
||||
except Exception as e:
|
||||
print("Error processing file: {}".format(csv))
|
||||
print(str(e))
|
||||
#except Exception as e:
|
||||
# print("Error processing file: {}".format(csv))
|
||||
# print(str(e))
|
||||
counter += 1
|
||||
|
||||
plt.clf()
|
||||
Reference in New Issue
Block a user