Home
last modified time | relevance | path

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

/f-stack/dpdk/examples/qos_sched/
H A Dapp_thread.c80 APP_STATS_ADD(conf->stat.nb_rx, nb_rx); in app_rx_thread()
97 APP_STATS_ADD(conf->stat.nb_drop, 1); in app_rx_thread()
209 APP_STATS_ADD(conf->stat.nb_drop, nb_pkt - nb_sent); in app_worker_thread()
210 APP_STATS_ADD(conf->stat.nb_rx, nb_pkt); in app_worker_thread()
245 APP_STATS_ADD(conf->stat.nb_drop, nb_pkt - nb_sent); in app_mixed_thread()
246 APP_STATS_ADD(conf->stat.nb_rx, nb_pkt); in app_mixed_thread()
H A Dmain.h61 #define APP_STATS_ADD(stat,val) (stat) += (val) macro
63 #define APP_STATS_ADD(stat,val) do {(void) (val);} while (0)