Home
last modified time | relevance | path

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

/f-stack/dpdk/app/test/
H A Dtest_hash_readwrite.c22 #define TOTAL_INSERT (4.5*1024*1024) macro
224 tot_insert = TOTAL_INSERT; in test_hash_readwrite_functional()
336 offset = TOTAL_INSERT / 2 + (i - (start_coreid)) * in test_rw_writer()
396 read_cnt = TOTAL_INSERT / 10; in test_hash_readwrite_perf()
399 read_cnt = TOTAL_INSERT / 2; in test_hash_readwrite_perf()
405 for (i = 0; i < TOTAL_INSERT / 2; i++) { in test_hash_readwrite_perf()
446 tbl_rw_test_param.num_insert = TOTAL_INSERT / 2 / core_cnt[n]; in test_hash_readwrite_perf()
447 tbl_rw_test_param.rounded_tot_insert = TOTAL_INSERT / 2 + in test_hash_readwrite_perf()
451 for (i = 0; i < TOTAL_INSERT / 2; i++) { in test_hash_readwrite_perf()
507 for (i = 0; i < TOTAL_INSERT / 2; i++) { in test_hash_readwrite_perf()
H A Dtest_hash_readwrite_lf_perf.c30 #define TOTAL_INSERT (5*1024) macro
35 #define TOTAL_INSERT (4*1024*1024) macro
277 keys = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
300 keys_ks = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
307 found = rte_zmalloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
330 TOTAL_INSERT, 0); in generate_keys()
397 for (i = 2; i < TOTAL_INSERT; i++) in generate_keys()
401 for (i = 0; i < TOTAL_INSERT; i++) { in generate_keys()
437 if (keys_no_ks[i] < TOTAL_INSERT) in generate_keys()
446 if (keys_ks[i] < TOTAL_INSERT) in generate_keys()
[all …]