DPDK  2.0.0
Data Fields
rte_malloc_socket_stats Struct Reference

#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

Structure to hold heap statistics obtained from rte_malloc_get_socket_stats function.

Field Documentation

unsigned alloc_count

Number of allocated elements on heap

unsigned free_count

Number of free elements on heap

size_t greatest_free_size

Size in bytes of largest free block

size_t heap_allocsz_bytes

Total allocated bytes on heap

size_t heap_freesz_bytes

Total free bytes on heap

size_t heap_totalsz_bytes

Total bytes on heap


The documentation for this struct was generated from the following file: