Home
last modified time | relevance | path

Searched refs:hist_stats (Results 1 – 4 of 4) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
H A Ddp_hist.c263 void dp_hist_update_stats(struct cdp_hist_stats *hist_stats, int value) in dp_hist_update_stats() argument
265 if (qdf_unlikely(!hist_stats)) in dp_hist_update_stats()
271 dp_hist_fill_buckets(&hist_stats->hist, value); in dp_hist_update_stats()
277 if (value < hist_stats->min) in dp_hist_update_stats()
278 hist_stats->min = value; in dp_hist_update_stats()
280 if (value > hist_stats->max) in dp_hist_update_stats()
281 hist_stats->max = value; in dp_hist_update_stats()
283 if (qdf_unlikely(!hist_stats->avg)) in dp_hist_update_stats()
284 hist_stats->avg = value; in dp_hist_update_stats()
286 hist_stats->avg = (hist_stats->avg + value) / 2; in dp_hist_update_stats()
[all …]
H A Ddp_hist.h37 void dp_hist_update_stats(struct cdp_hist_stats *hist_stats, int value);
44 void dp_hist_init(struct cdp_hist_stats *hist_stats,
H A Ddp_internal.h1443 uint8_t hist_stats = 0; \
1444 for (hist_stats = 0; hist_stats < soc->pdev_count; \
1445 hist_stats++) { \
1446 DP_TX_HISTOGRAM_UPDATE(soc->pdev_list[hist_stats], \
1447 num_of_packets[hist_stats]); \
1454 uint8_t hist_stats = 0; \
1455 for (hist_stats = 0; hist_stats < soc->pdev_count; \
1456 hist_stats++) { \
1457 DP_RX_HISTOGRAM_UPDATE(soc->pdev_list[hist_stats], \
1458 num_of_packets[hist_stats]); \
H A Ddp_stats.c7015 struct cdp_hist_stats hist_stats; in dp_peer_print_tx_delay_stats() local
7035 dp_hist_init(&hist_stats, CDP_HIST_TYPE_SW_ENQEUE_DELAY); in dp_peer_print_tx_delay_stats()
7037 &hist_stats, tid, in dp_peer_print_tx_delay_stats()
7039 dp_print_hist_stats(&hist_stats, CDP_HIST_TYPE_SW_ENQEUE_DELAY); in dp_peer_print_tx_delay_stats()
7042 dp_hist_init(&hist_stats, CDP_HIST_TYPE_HW_COMP_DELAY); in dp_peer_print_tx_delay_stats()
7044 &hist_stats, tid, in dp_peer_print_tx_delay_stats()
7046 dp_print_hist_stats(&hist_stats, CDP_HIST_TYPE_HW_COMP_DELAY); in dp_peer_print_tx_delay_stats()
7062 struct cdp_hist_stats hist_stats; in dp_peer_print_rx_delay_stats() local
7082 dp_hist_init(&hist_stats, CDP_HIST_TYPE_REAP_STACK); in dp_peer_print_rx_delay_stats()
7084 &hist_stats, tid, in dp_peer_print_rx_delay_stats()
[all …]