System.TSmallBlockTypeState

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

  TSmallBlockTypeState = packed record
    {The internal size of the block type}
    InternalBlockSize: Cardinal;
    {Useable block size: The number of non-reserved bytes inside the block.}
    UseableBlockSize: Cardinal;
    {The number of allocated blocks}
    AllocatedBlockCount: NativeUInt;
    {The total address space reserved for this block type (both allocated and
     free blocks)}
    ReservedAddressSpace: NativeUInt;
  end;

C++

struct DECLSPEC_DRECORD TSmallBlockTypeState
{
public:
    unsigned InternalBlockSize;
    unsigned UseableBlockSize;
    NativeUInt AllocatedBlockCount;
    NativeUInt ReservedAddressSpace;
};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
record
struct
public
System.pas
System.hpp
System System

Beschreibung

TSmallBlockTypeState enthält eine Statistik über einen kleinen Speicherblock.

GetMemoryManagerState gibt eine Struktur zurück, die für alle Blocktypen - klein, mittel und groß - eine Speicherverwendungsstatistik enthält. Die Routine gibt diese Daten in einem TMemoryManagerState-Record zurück. Dieser Record enthält das Feld TSmallBlockTypeStates - ein Array mit TSmallBlockTypeState-Records. Jeder TSmallBlockTypeState-Record enthält die folgenden Informationen:



Feld Bedeutung

InternalBlockSize

Tatsächlicher jedem kleinen Speicherblock zugewiesener Speicher - mindestens 4 Byte davon stehen in UseableBlockSize nicht zur Verfügung.

UseableBlockSize

Die verwendbare Größe jedes zugewiesenen kleinen Speicherblocks.

AllocatedBlockCount

Die Anzahl der kleinen Speicherblöcke, die vom InternalBlockSize zugewiesen sind.

ReservedAddressSpace

Der Speicherplatz, der für diese Gruppe der kleinen Speicherblöcke reserviert ist.



Siehe auch