Experimental: this API is experimental and might be changed or removed in the future.

NativeAllocationSiteEntries

class in UnityEditor.Profiling.Memory.Experimental

切换到手册

描述

包含本机分配站点条目的类,由 PackedMemorySnapshot.nativeAllocationSites 返回。

变量

callstackSymbols与此分配站点对应的调用栈符号数组,引用 NativeCallstackSymbolEntries.symbol。
id包含分配站点 ID 的数组。
memoryLabelIndex包含附加到分配站点的内存标签的数组。由 PackedMemorySnapshot.nativeMemoryLabels 中的索引引用。

公共函数

GetNumEntries获取本机分配站点条目的数量。