System.TSmallBlockTypeState

提供: RAD Studio API Documentation
移動先: 案内検索

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;
};

プロパティ

種類 可視性 ソース ユニット
record
struct
public
System.pas
System.hpp
System System

説明

TSmallBlockTypeState は、小メモリ ブロックについての統計を保持します。

GetMemoryManagerState は、メモリ ブロック タイプ(小、中、大)ごとのメモリ使用状況統計を含む構造体を返します。このデータは、TMemoryManagerState レコードに含まれています。このレコードには、TSmallBlockTypeStates フィールド(TSmallBlockTypeState レコードの配列)が含まれています。TSmallBlockTypeState の各レコードには、以下の情報が含まれています。



フィールド 意味

InternalBlockSize

各小メモリ ブロックに割り当てられた実際のメモリ(そのうちの少なくとも 4 バイトは、UseableBlockSize には含まれない)。

UseableBlockSize

割り当てられた各小メモリ ブロックの使用可能なサイズ。

AllocatedBlockCount

与えられた InternalBlockSize で割り当てられた小メモリ ブロックの数。

ReservedAddressSpace

この小メモリ ブロック グループ用に予約されているメモリ容量。



関連項目