Version: 2022.1
言語: 日本語
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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961