Lines Matching refs:NUM_STATS
17 #define NUM_STATS 4 macro
75 struct rte_metric_name names[NUM_STATS]; in test_latencystats_get_names()
78 for (i = 0; i < NUM_STATS; i++) in test_latencystats_get_names()
82 size = NUM_STATS; in test_latencystats_get_names()
84 for (i = 0; i < NUM_STATS; i++) { in test_latencystats_get_names()
90 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get metrics names"); in test_latencystats_get_names()
94 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get the metrics count," in test_latencystats_get_names()
95 "Actual: %d Expected: %d", ret, NUM_STATS); in test_latencystats_get_names()
100 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get the metrics count," in test_latencystats_get_names()
101 "Actual: %d Expected: %d", ret, NUM_STATS); in test_latencystats_get_names()
111 struct rte_metric_value values[NUM_STATS]; in test_latencystats_get()
114 for (i = 0; i < NUM_STATS; i++) in test_latencystats_get()
118 size = NUM_STATS; in test_latencystats_get()
120 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get latency metrics" in test_latencystats_get()
125 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get the stats count," in test_latencystats_get()
126 "Actual: %d Expected: %d", ret, NUM_STATS); in test_latencystats_get()
131 TEST_ASSERT((ret == NUM_STATS), "Test Failed to get the stats count," in test_latencystats_get()
132 "Actual: %d Expected: %d", ret, NUM_STATS); in test_latencystats_get()