Test case for latency init with metrics init */
| 30 | |
| 31 | /* Test case for latency init with metrics init */ |
| 32 | static int test_latency_init(void) |
| 33 | { |
| 34 | int ret = 0; |
| 35 | |
| 36 | /* Metrics Initialization */ |
| 37 | rte_metrics_init(rte_socket_id()); |
| 38 | |
| 39 | ret = rte_latencystats_init(1, NULL); |
| 40 | TEST_ASSERT(ret >= 0, "Test Failed: rte_latencystats_init failed"); |
| 41 | |
| 42 | return TEST_SUCCESS; |
| 43 | } |
| 44 | |
| 45 | /* Test case to update the latency stats */ |
| 46 | static int test_latency_update(void) |
nothing calls this directly
no test coverage detected