Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NativeAllocationSiteEntries

A class that houses native allocation site entries, returned by nativeAllocationSites.
Read time 1 minuteLast updated 10 days ago

Definition

Warning
Deprecated. This API is outdated and will be removed. Please check out the Memory Profiler Package (https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/)
public class NativeAllocationSiteEntries

Properties

Property

Description

callstackSymbolsAn array of callstack symbols corresponding to this allocation site, referring to NativeCallstackSymbolEntries.symbol.
idAn array containing allocation site IDs.
memoryLabelIndexAn array containing memory labels attached to allocation sites. Referenced by index into nativeMemoryLabels.

Methods

Method

Description

GetNumEntriesGets the number of native allocation site entries.