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

PackedMemorySnapshot

class in UnityEditor.Profiling.Memory.Experimental

マニュアルに切り替える

説明

PackedMemorySnapshot はプレイヤーが Profiler Connection を介して送信されるメモリスナップショットのコンパクトな形式です。

変数

captureFlagsFlags corresponding to the fields present in a returned memory snapshot.
connectionsConnection はどれが生きていてどれが保っているか記述するペアの配列です。
fieldDescriptionsArray of Field Descriptions, referenced by Type Description entries by array index.
filePathPath to the memory snapshot file.
gcHandlesMemorySnapshot で使用中のすべての GC Handle
managedHeapSections実際のマネージヒープメモリセクションの配列
managedStacksArray of managed stacks in a memory snapshot.
metadataMeta data that was collected during memory snapshot capture.
nativeAllocationsArray of native allocation data, captured in C++.
nativeAllocationSitesArray of native allocation site data, captured in C++.
nativeCallstackSymbolsArray of callstack symbols, used by native allocation site data.
nativeMemoryLabelsArray of memory labels, used by native allocation site data.
nativeMemoryRegionsArray of native memory regions, which houses native allocations.
nativeObjectsスナップショットのときに読み込まれていたすべてのネイティブ C++ オブジェクト
nativeRootReferencesArray of native root references, which represent ownership of native allocation data.
nativeTypesプロファイリングされたプレイヤーが知っているすべての Unity のC++ の型の Description
recordDateThe time and date at which the snapshot was recorded.
typeDescriptionsAn array of indexes into PackedMemorySnapshot.typeDescriptions indetifying the type this field belongs to.
versionThe current snapshot format version.
virtualMachineInformationInformation about the virtual machine running executing the managed code inside the player.

Public 関数

DisposeDisposes of an existing PackedMemorySnapshot object and closes the file reader.

Static 関数

ConvertConverts the specified old format PackedMemorySnapshot object to a new PackedMemorySnapshot format object and writes it to the location and file name specified the the write path.
LoadLoad memory snapshot from given file path.
SaveCopy the memory snapshot file to the given file path.