BRL-CAD
heap Struct Reference

Data Fields

char ** pages
 
size_t count
 
size_t given
 

Detailed Description

Definition at line 61 of file heap.c.

Field Documentation

char** pages

pages is an array of memory pages. they are allocated one at a time so we only have to keep track of the last page.

Definition at line 66 of file heap.c.

Referenced by bu_heap_get().

size_t count

a count of how many heap pages have been allocated so we can quickly jump into the current.

Definition at line 72 of file heap.c.

Referenced by bu_heap_get().

size_t given

given tabulates how much memory the current page has been allocated to callers. not a counter to avoid a multiply.

Definition at line 78 of file heap.c.

Referenced by bu_heap_get().


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