Commit 90b2ec87 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

results/udp_scale: generate easier format for gnuplot

parent 3fd38de1
......@@ -18,15 +18,15 @@ for cl in types_of_client:
try:
log = open(log_path, 'r')
except:
print(f'no file: {log_path}')
continue
diff_time = ''
else:
exp_log = json.load(log)
start_time = exp_log["start_time"]
end_time = exp_log["end_time"]
diff_time = (end_time - start_time)/60 #min
print(diff_time)
diff_time = str(diff_time)
log.close()
print('%d\t%s' % (cl, diff_time))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment