Home
last modified time | relevance | path

Searched refs:avg (Results 1 – 8 of 8) sorted by relevance

/dpdk/lib/sched/
H A Drte_red.h71 uint32_t avg; /**< Average queue size (avg), scaled in fixed-point format */ member
229 red->avg = 0; in rte_red_enqueue_empty()
231 …red->avg = (red->avg >> RTE_RED_SCALING) * __rte_red_calc_qempty_factor(red_cfg->wq_log2, (uint16_… in rte_red_enqueue_empty()
284 pa_num = (red->avg - red_cfg->min_th) >> (red_cfg->wq_log2); in __rte_red_drop()
338 red->avg += (q << RTE_RED_SCALING) - (red->avg >> red_cfg->wq_log2); in rte_red_enqueue_nonempty()
341 if (red->avg < red_cfg->min_th) { in rte_red_enqueue_nonempty()
347 if (red->avg < red_cfg->max_th) { in rte_red_enqueue_nonempty()
H A Drte_red.c77 red->avg = 0; in rte_red_rt_data_init()
/dpdk/app/test/
H A Dtest_stack_perf.c130 double avg; member
158 args->avg = ((double)(end - start))/(iterations * size); in bulk_push_pop()
193 bulk_sizes[i], (args[0].avg + args[1].avg) / 2); in run_on_core_pair()
207 double avg; in run_on_n_cores() local
233 avg = args[rte_lcore_id()].avg; in run_on_n_cores()
239 avg += args[lcore_id].avg; in run_on_n_cores()
243 bulk_sizes[i], avg / n); in run_on_n_cores()
289 double avg = ((double)(end - start) / in test_bulk_push_pop() local
293 bulk_sizes[sz], avg); in test_bulk_push_pop()
H A Dtest_red.c193 uint32_t avg) in rte_red_set_avg_int() argument
198 red->avg = avg << (RTE_RED_SCALING + red_cfg->wq_log2); in rte_red_set_avg_int()
219 if (avg < min_th) { in calc_drop_prob()
343 uint32_t avg = 0; in increase_average_qsize() local
356 if (avg != level) in increase_average_qsize()
473 uint32_t avg = 0; in func_test1() local
608 uint32_t avg = 0; in func_test2() local
1006 uint32_t avg = 0; in func_test5() local
1580 if (avg > avg_max) { in ovfl_check_avg()
1583 avg_max = avg; in ovfl_check_avg()
[all …]
H A Dtest_pie.c491 uint32_t avg = 0; in func_test2() local
522 avg = rte_pie_get_avg_dq_time(NULL, tcfg->tqueue->pdata_in); in func_test2()
535 i, avg, *tcfg->tvar->enqueued, *tcfg->tvar->dropped, in func_test2()
/dpdk/lib/eal/common/
H A Deal_common_trace_utils.c272 uint64_t avg, start, end; in trace_epoch_time_save() local
280 avg = (start + end) >> 1; in trace_epoch_time_save()
284 trace->uptime_ticks = avg; in trace_epoch_time_save()
/dpdk/doc/guides/sample_app_ug/
H A Deventdev_pipeline.rst111 # consumer RX= xxxxxxx, time yyyy ms, avg z.zzz mpps [current w.www mpps]
/dpdk/doc/guides/prog_guide/
H A Dqos_framework.rst1306 avg (average queue size) and count (number of packets since the last drop) are run-time values,
1336 * *avg* = average queue size
1493 * *avg* = average queue size