Boxplot
This commit is contained in:
parent
0f9d8154ce
commit
500a42d9d9
1 changed files with 3 additions and 3 deletions
|
@ -18,12 +18,12 @@ for line in sys.stdin:
|
||||||
d[conf][(run,way,packet_id)] = min(latency, d[conf][(run,way,packet_id)])
|
d[conf][(run,way,packet_id)] = min(latency, d[conf][(run,way,packet_id)])
|
||||||
|
|
||||||
#print("strat,window,decile,latency")
|
#print("strat,window,decile,latency")
|
||||||
print("links,strat,decile,latency")
|
print("strat,window,decile,latency")
|
||||||
for conf,value in d.items():
|
for conf,value in d.items():
|
||||||
s = sorted(value.values())
|
s = sorted(value.values())
|
||||||
szs = len(s)
|
szs = len(s)
|
||||||
#m = re.match(r".*tick_tock=(\d+).+window=(\d+)", conf)
|
m = re.match(r".*tick_tock=(\d+).+window=(\d+)", conf)
|
||||||
m = re.match(r"^(\d+).*tick_tock=(\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]},MIN,{s[0]}")
|
||||||
print(f"{m[1]},{m[2]},D0.1,{s[int(szs*0.001)]}")
|
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)]}")
|
print(f"{m[1]},{m[2]},D1,{s[int(szs*0.01)]}")
|
||||||
|
|
Loading…
Reference in a new issue