ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::monomem::Statistics Struct Reference

Description:

Statistics for type TMonoAllocator, receivable with method GetStatistics.

See also
Struct DbgStatistics and corresponding method DbgGetStatistics.

Definition at line 153 of file monoallocator.inl.

Public Field Index:

size_t AllocSize = 0
 
size_t BufferWaste = 0
 
size_t CurrentBufferFree = 0
 The free space in the current buffer.
 
size_t CurrentBufferSize = 0
 The size of the current buffer.
 
size_t HeapSize = 0
 
size_t HeapSizeRecycled = 0
 The number of bytes allocated at the heap.
 
size_t NextBufferSize = 0
 The planned size of the next buffer (that is not an oversize-allocation).
 
unsigned int QtyBuffers = 0
 The number of created buffers.
 
unsigned int QtyRecyclables = 0
 The number of created buffers.
 

Field Details:

◆ AllocSize

size_t alib::monomem::Statistics::AllocSize = 0

The overall number of bytes requested. Note that this value includes the losses due to alignment. To get the exact value, method DbgGetStatistics needs to be used and its information about the alignment waste has to be subtracted.

Definition at line 172 of file monoallocator.inl.

◆ BufferWaste

size_t alib::monomem::Statistics::BufferWaste = 0

The number of bytes remaining in buffers, because a next object did not fit. This does not include the remaining bytes in the current buffer.

Definition at line 176 of file monoallocator.inl.

◆ CurrentBufferFree

size_t alib::monomem::Statistics::CurrentBufferFree = 0

The free space in the current buffer.

Definition at line 179 of file monoallocator.inl.

◆ CurrentBufferSize

size_t alib::monomem::Statistics::CurrentBufferSize = 0

The size of the current buffer.

Definition at line 182 of file monoallocator.inl.

◆ HeapSize

size_t alib::monomem::Statistics::HeapSize = 0

The number of bytes allocated at the heap from buffers currently used. Note: To get the total size, add HeapSizeRecycled.

Definition at line 166 of file monoallocator.inl.

◆ HeapSizeRecycled

size_t alib::monomem::Statistics::HeapSizeRecycled = 0

The number of bytes allocated at the heap.

Definition at line 162 of file monoallocator.inl.

◆ NextBufferSize

size_t alib::monomem::Statistics::NextBufferSize = 0

The planned size of the next buffer (that is not an oversize-allocation).

Definition at line 185 of file monoallocator.inl.

◆ QtyBuffers

unsigned int alib::monomem::Statistics::QtyBuffers = 0

The number of created buffers.

Definition at line 156 of file monoallocator.inl.

◆ QtyRecyclables

unsigned int alib::monomem::Statistics::QtyRecyclables = 0

The number of created buffers.

Definition at line 159 of file monoallocator.inl.


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