Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/ip/
Dnet_pkt.c887 if (pkt->alloc_stats == NULL) { \
888 pkt->alloc_stats = find_alloc_stats(pkt->slab); \
890 pkt->alloc_stats->ok.count++; \
891 if (pkt->alloc_stats->ok.count == 0) { \
892 pkt->alloc_stats->ok.alloc_sum = 0ULL; \
893 pkt->alloc_stats->ok.time_sum = 0ULL; \
895 pkt->alloc_stats->ok.alloc_sum += (uint64_t)alloc_size; \
896 pkt->alloc_stats->ok.time_sum += (uint64_t)(k_cycle_get_32() - start); \
899 pkt->alloc_stats->ok.count; \
903 if (pkt->alloc_stats == NULL) { \
[all …]
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h171 struct net_pkt_alloc_stats_slab *alloc_stats; member