class in UnityEditor.Profiling.Memory.Experimental
切换到手册PackedMemorySnapshot 是播放器通过性能分析器连接发送的内存快照的紧凑表示。
captureFlags | 与返回的内存快照中存在的字段对应的标志。 |
connections | 连接是 from,to 对数组,描述各方之间的依存关系。 |
fieldDescriptions | 字段描述阵列,由类型描述条目按数组索引进行引用。 |
filePath | 内存快照文件的路径。 |
gcHandles | memorysnapshot 中使用的所有 GC 句柄。 |
managedHeapSections | 实际托管堆内存区段的数组。 |
managedStacks | 内存快照托管堆栈数组。 |
metadata | 在内存快照捕获期间收集的元数据。 |
nativeAllocations | 用 C++ 捕获的本机分配数据数组。 |
nativeAllocationSites | 用 C++ 捕获的本机分配站点数据数组。 |
nativeCallstackSymbols | 由本机分配站点数据使用的调用栈符号数组。 |
nativeMemoryLabels | 由本机分配站点数据使用的内存标签数组。 |
nativeMemoryRegions | 包含本机分配的本机内存区域数组。 |
nativeObjects | 创建快照时加载的所有本机 C++ 对象。 |
nativeRootReferences | 表示本机分配数据所有权的本机根引用数组。 |
nativeTypes | 对进行性能分析的播放器了解的所有 C++ unity 类型的描述。 |
recordDate | 记录快照的时间和日期。 |
typeDescriptions | 标识此字段所属类型的 PackedMemorySnapshot.typeDescriptions 索引阵列。 |
version | 当前快照格式版本。 |
virtualMachineInformation | 有关在播放器内运行并执行托管代码的虚拟机的信息。 |
Dispose | 处置现有的 PackedMemorySnapshot 对象并关闭文件阅读器。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.