rte_malloc_socket_stats(3)
π rte_malloc_socket_stats(3) π
okay bestie, gather round, because this is a manual page from the Library Functions Manual and it's literally all about one lil struct. yes. a struct. she's a data holder, she's iconic, she's not a function, and we're gonna respect her.
β¨ NAME β¨
rte_malloc_socket_stats β that's the whole name, no extra words, we keep it simple π
πΈ SYNOPSIS πΈ
#include <rte_malloc.h>
π Data Fields
size_t heap_totalsz_bytessize_t heap_freesz_bytessize_t greatest_free_sizeunsigned free_countunsigned alloc_countsize_t heap_allocsz_bytes
that's the whole squad right there, six fields, no more no less π«Ά
π¦ Detailed Description π¦
so like, this is a structure to hold heap statistics obtained from rte_malloc_get_socket_stats function. that's the vibe. that's what she does. she holds the numbers, she delivers the numbers, no cap π
she's defined at line 25 of file rte_malloc.h. periodt.
π Field Documentation π
okay now we go field by field because every single one of them matters, and I am NOT skipping anybody π
π size_t heap_totalsz_bytes
Total bytes on heap β¨
defined at line 26 of file rte_malloc.h.
π size_t heap_freesz_bytes
Total free bytes on heap πΈ
defined at line 27 of file rte_malloc.h.
π size_t greatest_free_size
Size in bytes of largest free block π
defined at line 28 of file rte_malloc.h. this one is the biggest girl in the free-block department, lowkey the main character of fragmentation stats.
π unsigned free_count
Number of free elements on heap π
defined at line 29 of file rte_malloc.h.
π unsigned alloc_count
Number of allocated elements on heap π₯
defined at line 30 of file rte_malloc.h.
π size_t heap_allocsz_bytes
Total allocated bytes on heap π
defined at line 31 of file rte_malloc.h.
ngl bestie, notice how the descriptions are like super short? that's not me being lazy, that's literally the whole documentation. every field is one line and one line only. I am not inventing extra lore. π«Ά
π§ Author π§
Generated automatically by Doxygen for DPDK from the source code.
like... she was born from a doc generator. she didn't choose this life, but she's serving anyway. πβ¨
okay and for the cute sign-off: this whole thing is DPDK, Version 25.11.3, and the page is rte_malloc_socket_stats(3) β mwah, go check your socket stats, love u byeeee πππ¦
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms