rte_malloc_socket_stats(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’– 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_bytes
  • size_t heap_freesz_bytes
  • size_t greatest_free_size
  • unsigned free_count
  • unsigned alloc_count
  • size_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