ALib C++ Framework
by
Library Version: 2511 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 142 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 QtyBuffers =0
 The number of created buffers.
unsigned 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 161 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 165 of file monoallocator.inl.

◆ CurrentBufferFree

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

The free space in the current buffer.

Definition at line 168 of file monoallocator.inl.

◆ CurrentBufferSize

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

The size of the current buffer.

Definition at line 171 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 155 of file monoallocator.inl.

◆ HeapSizeRecycled

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

The number of bytes allocated at the heap.

Definition at line 151 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 174 of file monoallocator.inl.

◆ QtyBuffers

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

The number of created buffers.

Definition at line 145 of file monoallocator.inl.

◆ QtyRecyclables

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

The number of created buffers.

Definition at line 148 of file monoallocator.inl.


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