Fix typo
This commit is contained in:
parent
0f9d8154ce
commit
6c8d7be706
2 changed files with 5 additions and 4 deletions
|
@ -254,7 +254,7 @@ lightning-fastcount:
|
||||||
lightning-client 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
lightning-client 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
lightning-client 7500 40 172 12 fast_count=4!tick_tock=0!measlat=1!window=2000, \
|
lightning-client 7500 40 172 12 fast_count=4!tick_tock=0!measlat=1!window=2000, \
|
||||||
lightning-client 7500 40 172 12 fast_count=5!tick_tock=0!measlat=1!window=2000, \
|
lightning-client 7500 40 172 12 fast_count=5!tick_tock=0!measlat=1!window=2000, \
|
||||||
lightning-client 7500 40 172 12 fast_count=6!tick_tock=0!measlat=1!window=2000, \
|
lightning-client 7500 40 172 12 fast_count=6!tick_tock=0!measlat=1!window=2000. \
|
||||||
lightning-server 7500 40 172 12 fast_count=1!tick_tock=1!measlat=1!window=2000, \
|
lightning-server 7500 40 172 12 fast_count=1!tick_tock=1!measlat=1!window=2000, \
|
||||||
lightning-server 7500 40 172 12 fast_count=2!tick_tock=1!measlat=1!window=2000, \
|
lightning-server 7500 40 172 12 fast_count=2!tick_tock=1!measlat=1!window=2000, \
|
||||||
lightning-server 7500 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
lightning-server 7500 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
|
||||||
|
@ -266,7 +266,7 @@ lightning-fastcount:
|
||||||
lightning-server 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
lightning-server 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
|
||||||
lightning-server 7500 40 172 12 fast_count=4!tick_tock=0!measlat=1!window=2000, \
|
lightning-server 7500 40 172 12 fast_count=4!tick_tock=0!measlat=1!window=2000, \
|
||||||
lightning-server 7500 40 172 12 fast_count=5!tick_tock=0!measlat=1!window=2000, \
|
lightning-server 7500 40 172 12 fast_count=5!tick_tock=0!measlat=1!window=2000, \
|
||||||
lightning-server 7500 40 172 12 fast_count=6!tick_tock=0!measlat=1!window=2000, \
|
lightning-server 7500 40 172 12 fast_count=6!tick_tock=0!measlat=1!window=2000. \
|
||||||
tor2 -f /etc/torrc_simple, \
|
tor2 -f /etc/torrc_simple, \
|
||||||
tor2 -f /etc/torrc_simple, \
|
tor2 -f /etc/torrc_simple, \
|
||||||
tor2 -f /etc/torrc_simple, \
|
tor2 -f /etc/torrc_simple, \
|
||||||
|
|
|
@ -18,12 +18,13 @@ 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("fast_count,strat,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".*fast_count=(\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