Updated single-packet timing
This commit is contained in:
parent
58b5501e17
commit
5ba789f782
|
@ -140,7 +140,7 @@ class TestLink(unittest.TestCase):
|
||||||
pstart = time.time()
|
pstart = time.time()
|
||||||
print("Sending "+str(num_packets)+" link packets of "+str(packet_size)+" bytes...")
|
print("Sending "+str(num_packets)+" link packets of "+str(packet_size)+" bytes...")
|
||||||
for i in range(0, num_packets):
|
for i in range(0, num_packets):
|
||||||
time.sleep(0.001)
|
time.sleep(0.003)
|
||||||
b += packet_size
|
b += packet_size
|
||||||
data = os.urandom(packet_size)
|
data = os.urandom(packet_size)
|
||||||
start = time.time()
|
start = time.time()
|
||||||
|
|
Loading…
Reference in New Issue