X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest.c;h=ee287b947ab4c5c9768174a7fce058fa3d1425c4;hb=e987449c9fce2ec6210be3d8bad680d08d68c9dc;hp=f0209b5fad83b31af03cf26ccefcc81195585a74;hpb=3778059a51fcbc6b989ca7503a3ff89f6945ddd2;p=dpdk.git diff --git a/app/test/test.c b/app/test/test.c index f0209b5fad..ee287b947a 100644 --- a/app/test/test.c +++ b/app/test/test.c @@ -52,10 +52,14 @@ #include #include #include +#include +#include #include #include "test.h" +#define RTE_LOGTYPE_APP RTE_LOGTYPE_USER1 + const char *prgname; /* to be set to argv[0] */ #ifndef RTE_EXEC_ENV_BAREMETAL @@ -115,6 +119,14 @@ main(int argc, char **argv) return do_recursive_call(); #endif +#ifdef RTE_LIBEAL_USE_HPET + if (rte_eal_hpet_init(1) < 0) +#endif + RTE_LOG(INFO, APP, + "HPET is not enabled, using TSC as default timer\n"); + + + cl = cmdline_stdin_new(main_ctx, "RTE>>"); if (cl == NULL) { return -1;