struct UnitHeapDebugInfo : public nn::nex::RootObject { qUnsignedInt32 peak; qUnsignedInt32 use; qUnsignedInt32 max; qUnsignedInt32 unitSize; qUnsignedInt32 realUnitSize; qUnsignedInt32 alloc; qUnsignedInt32 free; qUnsignedInt32 outOfMemory; };
Memory allocation information for the unit heap used internally by the packet buffer manager.
In NEX, a check is done if there is sufficient availability before buffer allocation; when there is an insufficiency, it may be counted as an occurrence of memory being depleted. The count for memory depletion occurrences may increase without the peak value of the actual allocated number reaching the maximum.
When the memory depletion occurrence count for the unit heap with the largest unit size increases, set the unit heap structure so that the maximum for the number of memory blocks is increased.
peak
|
Peak value of the allocated number. | |
---|---|---|
use
|
Current allocated number. | |
max
|
Maximum that can be allocated. | |
unitSize
|
Unit size of the unit heap. | |
realUnitSize
|
Size of the memory blocks to actually allocate. | |
alloc
|
Allocation count. | |
free
|
Deallocation count. | |
outOfMemory
|
Memory depletion occurrence count. |
nn::nex::RootObject
nn::nex::PacketBufferManager::UnitHeapDebugInfo
CONFIDENTIAL