|
GCSIM
|
representation of the element inside of the free_memory_table. More...
#include <segment-info.hpp>
Public Member Functions | |
| segment_info () | |
| creates the instance of the segment_info. | |
| segment_info (header *head, uint32_t bytes) | |
| creates the instance of the segment_info. | |
Public Attributes | |
| header * | free_list_head |
| pointer to a head of the free list. | |
| uint32_t | free_bytes |
| number of free bytes in a segment. | |
representation of the element inside of the free_memory_table.
| segment_info::segment_info | ( | ) |
creates the instance of the segment_info.
sets free_bytes to 0, free_list_head to nullptr
| segment_info::segment_info | ( | header * | head, |
| uint32_t | bytes | ||
| ) |
creates the instance of the segment_info.
| head | - pointer to a head of the free memory list. |
| bytes | - number of free bytes. |
| uint32_t segment_info::free_bytes |
number of free bytes in a segment.
| header* segment_info::free_list_head |
pointer to a head of the free list.