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

Description:

Statistics for type TMonoAllocator, receivable with method GetStatistics.

See also
Struct DbgStatistics and corresponding method DbgGetStatistics.

Definition at line 199 of file monoallocator.hpp.

#include <monoallocator.hpp>

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 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 218 of file monoallocator.hpp.

◆ BufferWaste

size_t 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 222 of file monoallocator.hpp.

◆ CurrentBufferFree

size_t CurrentBufferFree = 0

The free space in the current buffer.

Definition at line 225 of file monoallocator.hpp.

◆ CurrentBufferSize

size_t CurrentBufferSize = 0

The size of the current buffer.

Definition at line 228 of file monoallocator.hpp.

◆ HeapSize

size_t 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 212 of file monoallocator.hpp.

◆ HeapSizeRecycled

size_t HeapSizeRecycled = 0

The number of bytes allocated at the heap.

Definition at line 208 of file monoallocator.hpp.

◆ NextBufferSize

size_t NextBufferSize = 0

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

Definition at line 231 of file monoallocator.hpp.

◆ QtyBuffers

unsigned int QtyBuffers = 0

The number of created buffers.

Definition at line 202 of file monoallocator.hpp.

◆ QtyRecyclables

unsigned int QtyRecyclables = 0

The number of created buffers.

Definition at line 205 of file monoallocator.hpp.


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