JIRA: NFVBENCH-93
Change-Id: I4328d51c934b62acba7b300426c25469dd69e598
Signed-off-by: Michael Pedersen <michael.soelvkaer@gmail.com>
 # Can be overridden by --interval
 interval_sec: 10
 
+# Default pause between iterations of a binary search (NDR/PDR)
+pause_sec: 2
+
 # NDR / PDR configuration
 measurement:
     # Drop rates represent the ratio of dropped packet to the total number of packets sent.
 
 
         self.config.duration_sec = float(self.config.duration_sec)
         self.config.interval_sec = float(self.config.interval_sec)
+        self.config.pause_sec = float(self.config.pause_sec)
 
         # Get traffic generator profile config
         if not self.config.generator_profile:
 
             time_elapsed_ratio = self.runner.time_elapsed() / self.run_config['duration_sec']
             if time_elapsed_ratio >= 1:
                 self.cancel_traffic()
+                time.sleep(self.config.pause_sec)
         self.interval_collector.reset()
 
         # get stats from the run
 
         'no_arp': False,
         'duration_sec': 1,
         'interval_sec': 1,
+        'pause_sec': 1,
         'rate': rate,
         'check_traffic_time_sec': 200,
         'generic_poll_sec': 2,