Lines Matching refs:NUM_STATS
16 #define NUM_STATS 4 macro
74 struct rte_metric_name names[NUM_STATS]; in test_latencystats_get_names()
77 for (i = 0; i < NUM_STATS; i++) in test_latencystats_get_names()
81 size = NUM_STATS; in test_latencystats_get_names()
83 for (i = 0; i <= NUM_STATS; i++) { in test_latencystats_get_names()
89 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get metrics names"); in test_latencystats_get_names()
93 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get the metrics count," in test_latencystats_get_names()
94 "Actual: %d Expected: %d", ret, NUM_STATS); in test_latencystats_get_names()
99 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get the metrics count," in test_latencystats_get_names()
100 "Actual: %d Expected: %d", ret, NUM_STATS); in test_latencystats_get_names()
110 struct rte_metric_value values[NUM_STATS]; in test_latencystats_get()
113 for (i = 0; i < NUM_STATS; i++) in test_latencystats_get()
117 size = NUM_STATS; in test_latencystats_get()
119 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get latency metrics" in test_latencystats_get()
124 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get the stats count," in test_latencystats_get()
125 "Actual: %d Expected: %d", ret, NUM_STATS); in test_latencystats_get()
130 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get the stats count," in test_latencystats_get()
131 "Actual: %d Expected: %d", ret, NUM_STATS); in test_latencystats_get()