Home
last modified time | relevance | path

Searched refs:ITER_POWER (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_distributor_perf.c17 #define ITER_POWER 21 /* log 2 of how many iterations we do when timing. */ macro
154 for (i = 0; i < (1<<ITER_POWER); i++) in perf_test()
161 } while (total_packet_count() < (BURST << ITER_POWER)); in perf_test()
165 printf("Time per burst: %"PRIu64"\n", (end - start) >> ITER_POWER); in perf_test()
167 ((end - start) >> ITER_POWER)/BURST); in perf_test()
H A Dtest_distributor.c17 #define ITER_POWER 20 /* log 2 of how many iterations we do when timing. */ macro
332 for (i = 0; i < ((1<<ITER_POWER)); i += BURST) { in sanity_test_with_mbuf_alloc()
350 if (total_packet_count() < (1<<ITER_POWER)) { in sanity_test_with_mbuf_alloc()
353 (1<<ITER_POWER)); in sanity_test_with_mbuf_alloc()