blob: 28ad27fb46ab35e833e0da12c09cee07038b07a7 [file] [log] [blame]
#!/usr/bin/python
from ndn.experiments.experiment import Experiment
import time
class PingallExperiment(Experiment):
def __init__(self, args):
Experiment.__init__(self, args)
self.COLLECTION_PERIOD_BUFFER = 10
def run(self):
self.startPings()
# For pingall experiment sleep for the number of pings + some offset
time.sleep(self.nPings + self.COLLECTION_PERIOD_BUFFER)
Experiment.register("pingall", PingallExperiment)