From c9ae2ba88f6831d7a78c0fe05581303dcbb8a231 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 5 Jul 2016 18:07:17 +0300 Subject: few more places to add wait_before_traffic argument --- src/main_dpdk.cpp | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'src/main_dpdk.cpp') diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp index eeacdbff..905899d4 100644 --- a/src/main_dpdk.cpp +++ b/src/main_dpdk.cpp @@ -4863,6 +4863,18 @@ int main_test(int argc , char * argv[]){ return (0); } +void wait_x_sec(int sec) { + int i; + printf(" wait %d sec ", sec); + fflush(stdout); + for (i=0; i