Home
last modified time | relevance | path

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

/dpdk/app/test/
H A Dtest_trace_perf.c149 unsigned int nb_cores, nb_workers; in test_trace_perf() local
153 nb_cores = rte_lcore_count(); in test_trace_perf()
154 nb_workers = nb_cores - 1; in test_trace_perf()
155 if (nb_cores < 2) { in test_trace_perf()
/dpdk/app/test-regex/
H A Dmain.c636 distribute_qps_to_lcores(uint32_t nb_cores, uint32_t nb_qps, in distribute_qps_to_lcores() argument
647 if (nb_qps < nb_cores) { in distribute_qps_to_lcores()
648 nb_cores = nb_qps; in distribute_qps_to_lcores()
650 nb_cores); in distribute_qps_to_lcores()
654 rte_malloc(NULL, sizeof(*qps_per_lcore) * nb_cores, 0); in distribute_qps_to_lcores()
662 if (detected_lcores >= nb_cores) in distribute_qps_to_lcores()
670 max_qp_id = min_qp_id + nb_qps / nb_cores - 1; in distribute_qps_to_lcores()
671 if (nb_qps % nb_cores > detected_lcores) in distribute_qps_to_lcores()
678 if (detected_lcores != nb_cores) in distribute_qps_to_lcores()