NativeMemoryRegionEntries
class in UnityEditor.Profiling.Memory.Experimental
/
Implemented in:UnityEditor
Description 描述
A class housing native memory region data, returned by PackedMemorySnapshot.nativeMemoryRegions.
Properties 属性
| addressBase | An array containing addresses of the memory regions. Non-leaf entries containing child memory regions are set to 0. | ||
| addressSize | An array that contains the accumulated size, in bytes, including all of its children, of the memory region. | ||
| firstAllocationIndex | An array that contains indexes into the PackedMemorySnapshot.nativeAllocations array that identify the first allocation that the memory region contains. | ||
| memoryRegionName | An array containing the names of the memory regions. | ||
| numAllocations | An array that contains the number of allocations, including children, that the memory regions contain. | ||
| parentIndex | The parent of this memory region, referenced by index into this entry array. The root memory region contains parent index of -1. |
Public Methods 公共方法
| GetNumEntries | Gets the number of memory region entries. |