Correction de la demo
This commit is contained in:
parent
d0a49e744e
commit
6a0a12d6ae
1 changed files with 5 additions and 4 deletions
|
@ -23,7 +23,9 @@ super = client.protocol.superviseur
|
|||
rtt_l = []
|
||||
rtt_s = []
|
||||
|
||||
for n_rep in range(1000):
|
||||
N_rep = 10000
|
||||
|
||||
for n_rep in range(N_rep):
|
||||
# print('rep{}'.format(n_rep))
|
||||
response = client.get(path)
|
||||
rtt_l.append(super.RTT_L)
|
||||
|
@ -41,10 +43,9 @@ axs[0].hist(super.RTTs, 100, density=True)
|
|||
axs[0].set_xlabel('RTT (s)')
|
||||
axs[0].set_xlim(left=0)
|
||||
|
||||
# axs[1].step(range(1000), super.RTTs, where='post', label='$RTT$')
|
||||
axs[1].plot(rtt_l, label="$RTT_L$")
|
||||
# axs[1].step(range(N_rep), super.RTTs, where='post', label='$RTT$')
|
||||
axs[1].plot(rtt_s, label="$RTT_S$")
|
||||
|
||||
axs[1].plot(rtt_l, label="$RTT_L$")
|
||||
|
||||
axs[1].set_ylim(bottom=0)
|
||||
axs[1].set_xlabel('Nombre de message')
|
||||
|
|
Loading…
Reference in a new issue