diff --git a/scripts/boxplot.py b/scripts/boxplot.py index c5036c2..36dd2c3 100755 --- a/scripts/boxplot.py +++ b/scripts/boxplot.py @@ -18,12 +18,12 @@ for line in sys.stdin: d[conf][(run,way,packet_id)] = min(latency, d[conf][(run,way,packet_id)]) #print("strat,window,decile,latency") -print("links,strat,decile,latency") +print("strat,window,decile,latency") for conf,value in d.items(): s = sorted(value.values()) szs = len(s) - #m = re.match(r".*tick_tock=(\d+).+window=(\d+)", conf) - m = re.match(r"^(\d+).*tick_tock=(\d+)", conf) + m = re.match(r".*tick_tock=(\d+).+window=(\d+)", conf) + #m = re.match(r"^(\d+).*tick_tock=(\d+)", conf) print(f"{m[1]},{m[2]},MIN,{s[0]}") print(f"{m[1]},{m[2]},D0.1,{s[int(szs*0.001)]}") print(f"{m[1]},{m[2]},D1,{s[int(szs*0.01)]}")