From 500a42d9d90881dfa565b09f336d49acbf0bcf06 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 1 Nov 2019 17:15:43 +0000 Subject: [PATCH] Boxplot --- scripts/boxplot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)]}")