]> git.droids-corp.org - dpdk.git/blobdiff - test/test/test_timer_racecond.c
test/pdump: add unit test for pdump library
[dpdk.git] / test / test / test_timer_racecond.c
index 7824ec4bf6191f9b76300102e5f20d44d51811ba..d29048eaf1bfef0bb05f6ee6e7551e818e46c4b3 100644 (file)
@@ -42,6 +42,7 @@
 #include <rte_lcore.h>
 #include <rte_random.h>
 #include <rte_malloc.h>
+#include <rte_pause.h>
 
 #undef TEST_TIMER_RACECOND_VERBOSE
 
@@ -53,7 +54,7 @@
 
 #define BILLION (1UL << 30)
 
-#define TEST_DURATION_S 20 /* in seconds */
+#define TEST_DURATION_S 4 /* in seconds */
 #define N_TIMERS    50
 
 static struct rte_timer timer[N_TIMERS];