#include "test.h"
-#ifdef RTE_LIBRTE_TIMER
#include <stdio.h>
#include <unistd.h>
#include <inttypes.h>
return 0;
}
-static struct test_command timer_perf_cmd = {
- .command = "timer_perf_autotest",
- .callback = test_timer_perf,
-};
-REGISTER_TEST_COMMAND(timer_perf_cmd);
-#endif
+REGISTER_TEST_COMMAND(timer_perf_autotest, test_timer_perf);