Heap handle.

Public Attributes#

void *

Base address of the heap memory.

size_t

Total size of the heap memory, in bytes.

size_t

Used size of the heap memory, in bytes.

size_t

High watermark of the used heap memory, in bytes.

uint32_t

Number of free blocks in the heap.

void *

Long-term free blocks list head pointer.

void *

Short-term free blocks list head pointer.

void *

Retention control handle.

Pointer to next heap handle.

Public Attribute Documentation#

base_addr#

void* sl_memory_heap_t::base_addr

Base address of the heap memory.


size#

size_t sl_memory_heap_t::size

Total size of the heap memory, in bytes.


used_size#

size_t sl_memory_heap_t::used_size

Used size of the heap memory, in bytes.


high_watermark#

size_t sl_memory_heap_t::high_watermark

High watermark of the used heap memory, in bytes.


free_blocks_number#

uint32_t sl_memory_heap_t::free_blocks_number

Number of free blocks in the heap.


free_lt_list_head#

void* sl_memory_heap_t::free_lt_list_head

Long-term free blocks list head pointer.


free_st_list_head#

void* sl_memory_heap_t::free_st_list_head

Short-term free blocks list head pointer.


attrib#

sl_memory_block_attrib_t sl_memory_heap_t::attrib

Heap attributes.


retention_control#

void* sl_memory_heap_t::retention_control

Retention control handle.


next_handle#

sl_memory_heap_t* sl_memory_heap_t::next_handle

Pointer to next heap handle.