HAPMEM
HAP Memory Allocator
HAP_mem_stats Struct Reference

#include <HAP_mem.h>

Public Attributes

uint64 bytes_free
 
uint64 bytes_used
 
uint64 seg_free
 
uint64 seg_used
 
uint64 min_grow_bytes
 

Detailed Description

Statistics of user heap memory

Member Data Documentation

◆ bytes_free

uint64 HAP_mem_stats::bytes_free

number of bytes free from all the segments, may not be available for a single alloc

◆ bytes_used

uint64 HAP_mem_stats::bytes_used

number of bytes used

◆ min_grow_bytes

uint64 HAP_mem_stats::min_grow_bytes

minimum number of bytes to grow the heap by when creating a new segment

◆ seg_free

uint64 HAP_mem_stats::seg_free

number of segments free

◆ seg_used

uint64 HAP_mem_stats::seg_used

number of segments used


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