]> git.droids-corp.org - dpdk.git/blobdiff - app/test/commands.c
app/test: add timer_perf
[dpdk.git] / app / test / commands.c
index 4b980186ba79550063568024d042ec3ed5b6a528..a907ff77b60088d563063ba65c69f6c3aecc8861 100644 (file)
@@ -160,6 +160,8 @@ static void cmd_autotest_parsed(void *parsed_result,
                ret |= test_ring_perf();
        if (all || !strcmp(res->autotest, "timer_autotest"))
                ret |= test_timer();
+       if (all || !strcmp(res->autotest, "timer_perf_autotest"))
+               ret |= test_timer_perf();
        if (all || !strcmp(res->autotest, "mempool_autotest"))
                ret |= test_mempool();
        if (all || !strcmp(res->autotest, "mempool_perf_autotest"))
@@ -214,6 +216,7 @@ cmdline_parse_token_string_t cmd_autotest_autotest =
                        "red_autotest#meter_autotest#sched_autotest#"
                        "memcpy_perf_autotest#kni_autotest#"
                        "pm_autotest#acl_autotest#power_autotest#"
+                       "timer_perf_autotest#"
                        "common_autotest#all_autotests");
 
 cmdline_parse_inst_t cmd_autotest = {