rte_malloc_socket_stats(3)
π NAME π
rte_malloc_socket_stats β bestie, this is the lil' struct that holds all the heap tea from rte_malloc_get_socket_stats, okurrr? β¨
πΈ 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
π¦ Detailed Description π¦
So like, this is the structure that holds all the heap stats you get back from the rte_malloc_get_socket_stats function. That's it, that's the vibe. π
Fr fr, it's defined at line 25 of file rte_malloc.h. Not me knowing the exact line number, iykyk. π
β¨ Field Documentation β¨
Ready for the full breakdown? Every single field, no cap, let's go π
π size_t heap_totalsz_bytes
The total bytes on the heap. All of 'em. The whole squad. π
Defined at line 26 of file rte_malloc.h.
π§ size_t heap_freesz_bytes
The total free bytes on the heap β the available space, the room to breathe, the "come thru" energy. π
Defined at line 27 of file rte_malloc.h.
π size_t greatest_free_size
Size, in bytes, of the largest free block. The main character of free blocks, lowkey. π
Defined at line 28 of file rte_malloc.h.
π unsigned free_count
Number of free elements on the heap. Counting 'em one by one. π₯
Defined at line 29 of file rte_malloc.h.
β unsigned alloc_count
Number of allocated elements on the heap. The ones that actually got a spot. Periodt. π
Defined at line 30 of file rte_malloc.h.
πΈ size_t heap_allocsz_bytes
The total allocated bytes on the heap β everything currently claimed, no refunds. π«Ά
Defined at line 31 of file rte_malloc.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not a human bestie writing this β a robot did the homework for us and honestly? Slay. π€β¨
Okurrr that's the whole page, and that's on periodt π
β this cutie came to you from DPDK, Version 26.03.0, and it's the rte_malloc_socket_stats(3) page, mwah, bye bestie ππ¦π
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms