Commit e1658cee authored by Andreas Schmidt's avatar Andreas Schmidt

Improve eval script.

parent d93bad13
......@@ -28,7 +28,7 @@ class ReceiverThread(threading.Thread):
if seqno in self.received:
self.duplicates = self.duplicates + 1
else:
self.received.update(set([seqno]))
self.received.add(seqno)
self.receivedPackets[int(seqno)] = datetime.datetime.now()
time.sleep(0.000001)
......@@ -37,7 +37,7 @@ class SenderThread(threading.Thread):
def __init__(self, seqnoDigits, packetCount):
threading.Thread.__init__(self)
self.sock = prrt.PrrtSocket(7005, True)
self.sock.target_delay = 1000**3
self.sock.target_delay = 0.1 * 1000**2
self.packetCount = packetCount
self.seqnoDigits = seqnoDigits
......@@ -92,7 +92,7 @@ class TestSetup(object):
self.duplicate = duplicate
self.reorder = reorder
self.reorder_correlation = reorder_correlation
self.processing_delay = 0.01 # in ms
self.processing_delay = 0.00001 # in ms
def netem_config(self):
# http://www.linuxfoundation.org/collaborate/workgroups/networking/netem
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment