* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "test.h"
+
+#ifdef RTE_LIBRTE_TIMER
/*
* Timer
* =====
#include <rte_random.h>
#include <rte_malloc.h>
-#include "test.h"
#define TEST_DURATION_S 20 /* in seconds */
#define NB_TIMER 4
return 0;
}
+
+#else
+
+int
+test_timer(void)
+{
+ return 0;
+}
+
+#endif