Fixed Ping Time Axis, Print test start time

This commit is contained in:
2025-10-02 16:02:13 +02:00
parent be91ecb650
commit 96cc5e1972
2 changed files with 2 additions and 0 deletions

View File

@@ -37,5 +37,6 @@ plt.figure(figsize=[6,6])
plt.plot(time_data, ping_data)
plt.plot(time_data, jitter_data)
plt.legend(['ping', 'jitter'])
plt.gcf().autofmt_xdate()
plt.savefig("ping_jitter.svg")

View File

@@ -29,6 +29,7 @@ def write_data(filename, data):
writer.writerow(data)
now = datetime.datetime.now()
print("Starting speedtest " + now.strftime("%H:%M:%S"))
date = now.strftime("%d-%m-%Y")
filename_lan = 'results_' + date + '_lan.csv'
filename_wlan = 'results_' + date + '_wlan.csv'