System.TSmallBlockTypeState
Delphi
TSmallBlockTypeState = packed record
C++
struct DECLSPEC_DRECORD TSmallBlockTypeState
{
public:
unsigned InternalBlockSize;
unsigned UseableBlockSize;
System::NativeUInt AllocatedBlockCount;
System::NativeUInt ReservedAddressSpace;
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | System.pas System.hpp |
System | System |
Description
TSmallBlockTypeState holds statistics about a small memory block.
GetMemoryManagerState returns a structure containing memory usage statistics for each block type-- small, medium, and large blocks. It returns this data in a TMemoryManagerState record. Within that record is held a TSmallBlockTypeStates field - an array of TSmallBlockTypeState records. Each TSmallBlockTypeState record holds the following information:
Field | Meaning |
---|---|
InternalBlockSize |
Actual memory allocated to each small memory block--at least 4 bytes of which are not available in the UseableBlockSize. |
UseableBlockSize |
The usable size of each allocated small memory block. |
AllocatedBlockCount |
The number of small memory blocks of the given InternalBlockSize that are allocated. |
ReservedAddressSpace |
The amount of memory reserved for this group of small memory blocks. |