Lines Matching refs:stats
161 STRUCT_SECTION_FOREACH(net_pkt_alloc_stats_slab, stats) { in cmd_net_mem()
162 if (stats->ok.count) { in cmd_net_mem()
163 PR("%p\tOK \t%u\t%llu\t\t%llu\n", stats->slab, stats->ok.count, in cmd_net_mem()
164 stats->ok.alloc_sum / (uint64_t)stats->ok.count, in cmd_net_mem()
165 k_cyc_to_us_ceil64(stats->ok.time_sum / in cmd_net_mem()
166 (uint64_t)stats->ok.count)); in cmd_net_mem()
169 if (stats->fail.count) { in cmd_net_mem()
170 PR("%p\tFAIL\t%u\t%llu\t\t%llu\n", stats->slab, stats->fail.count, in cmd_net_mem()
171 stats->fail.alloc_sum / (uint64_t)stats->fail.count, in cmd_net_mem()
172 k_cyc_to_us_ceil64(stats->fail.time_sum / in cmd_net_mem()
173 (uint64_t)stats->fail.count)); in cmd_net_mem()