class in UnityEditor.Profiling.Memory.Experimental
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseA class housing native memory region data, returned by PackedMemorySnapshot.nativeMemoryRegions.
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. |
GetNumEntries | Gets the number of memory region entries. |