MCPcopy Create free account
hub / github.com/F-Stack/f-stack / run_test_case

Function run_test_case

dpdk/app/test-dma-perf/main.c:89–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static void
90run_test_case(struct test_configure *case_cfg)
91{
92 switch (case_cfg->test_type) {
93 case TEST_TYPE_DMA_MEM_COPY:
94 mem_copy_benchmark(case_cfg, true);
95 break;
96 case TEST_TYPE_CPU_MEM_COPY:
97 mem_copy_benchmark(case_cfg, false);
98 break;
99 default:
100 printf("Unknown test type. %s\n", case_cfg->test_type_str);
101 break;
102 }
103}
104
105static void
106run_test(uint32_t case_id, struct test_configure *case_cfg)

Callers 1

run_testFunction · 0.70

Calls 2

mem_copy_benchmarkFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected