Searched refs:nb_cores (Results 1 – 2 of 2) sorted by relevance
149 unsigned int nb_cores, nb_workers; in test_trace_perf() local153 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()
636 distribute_qps_to_lcores(uint32_t nb_cores, uint32_t nb_qps, in distribute_qps_to_lcores() argument647 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()