Version: 2021.3
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

NativeMemoryRegionEntries

class in UnityEditor.Profiling.Memory.Experimental

매뉴얼로 전환

설명

A class housing native memory region data, returned by PackedMemorySnapshot.nativeMemoryRegions.

변수

addressBaseAn array containing addresses of the memory regions. Non-leaf entries containing child memory regions are set to 0.
addressSizeAn array that contains the accumulated size, in bytes, including all of its children, of the memory region.
firstAllocationIndexAn array that contains indexes into the PackedMemorySnapshot.nativeAllocations array that identify the first allocation that the memory region contains.
memoryRegionNameAn array containing the names of the memory regions.
numAllocationsAn array that contains the number of allocations, including children, that the memory regions contain.
parentIndexThe parent of this memory region, referenced by index into this entry array. The root memory region contains parent index of -1.

Public 함수

GetNumEntriesGets the number of memory region entries.