TSmallBlockTypeState holds statistics about a small memory block.
TSmallBlockTypeState = packed record InternalBlockSize: Cardinal; UseableBlockSize: Cardinal; AllocatedBlockCount: Cardinal; ReservedAddressSpace: Cardinal; end;
struct TSmallBlockTypeState { unsigned InternalBlockSize; unsigned UseableBlockSize; unsigned AllocatedBlockCount; unsigned ReservedAddressSpace; };
System
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 useable size of each allocated small memory block. |
AllocatedBlockCount |
The number of small memory blocks allocated of the given InternalBlockSize. |
ReservedAddressSpace |
The amount memory reserved for this group of small memory blocks. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|