当前位置:网站首页>Unity Profiler
Unity Profiler
2022-07-26 05:30:00 【st75033562】
内存:
在选择内存菜单之后, 下方的说明面板可以有两种视图, 分别是: Simple(简单说明), Detailed(详情).
Simple视图展示Unity在每帧的实时内存信息概括, Unity会提前向系统申请预留内存, 以减少频繁的内存请求, 这个视图只是展示了各个类型的内存使用量, 而不涉及具体的细节.
展示的信息包括如下:
第一行:
Used Total: 后续所有内存总和, 如上图:(Unity+Mono+GfxDriver+Audio+Video+Profile=341.6M)
Unity: Unity的原生代码使用的内存大小
Mono: 托管代码使用的内存大小
GfxDriver: 驱动程序对纹理, 渲染目标, 着色器和网格数据使用的内存估计量
Audio/Video: 音频和视频系统使用内存大小
Profiler: 性能分析器使用的总的内存大小
第二行: 与第一行类似, 只是描述的是Unity向系统申请的预留内存.
第三行: 整个系统所用内存大小, 与任务管理器中使用的大小一致, 根据该平台是否允许从系统获取内存情况, 这个值会显示不同的大小, 一般情况下都会大于上两行的总和, 因为Profile无法追踪所有的内存.
更多行: 其余的信息一目了然, 分别是不同类型的资源所占内存大小, 还有游戏对象数量等基础信息, 这里不再赘述.
Detailed视图展示内存使用详情, 因为信息量巨大, 所以采用截图采样(或者说叫快照)的方式(Take Sample)截取某一帧进行分析, 同时, 勾选上中部的Deep Profile之后, 能够获取更多的信息, 启用Gather object references可以收集对象可能的引用信息, 如下图所示:
边栏推荐
- Development projects get twice the result with half the effort, a large collection of open source STM32 driver Libraries
- Real scientific weight loss
- 嵌入式开发小记,实用小知识分享
- no networks found in /etc/cni/net.d
- It's enough for newcomers to learn how to do functional tests
- 虚拟偶像代言产品出问题谁负责? 且听律师分析
- 代码审计之百家cms
- Chinese character style transfer --- learn the conversion and generation of one to many programmed Chinese characters through generation confrontation network
- Attack and defense world -- easy_ web
- Day011 one dimensional array
猜你喜欢

520 for what? DIY is a high-value RGB clock that girls want to watch

Trend of the times - the rise of cloud native databases

FTP experiment and overview

Common solutions for distributed ID - take one

Lesson 2 getting to know slam for the first time

YOLOV3预备工作

C语言实现发牌功能基本方法

芯片的翻新和造假,人被坑麻了

Do you really understand fiddler, a necessary tool for testing?

ALV program collection
随机推荐
Hack the box - Introduction to networking module detailed Chinese tutorial
OD-Paper【2】:Fast R-CNN
DOM操作--操作节点
ALV program collection
SAP report development steps
Week 6 Learning Representation: Word Embedding (symbolic →numeric)
Day011 one dimensional array
Do you really understand fiddler, a necessary tool for testing?
How students apply for free idea
mysql如果计算本月变动/本月增幅/同比变动/同比增幅?
Knowledge points of Polymer Physics
IVR在voip电话系统的应用与价值
87. Disturb string
循环结构 practice
【STM32系列汇总】博主的STM32实战快速进阶之路(持续更新)
Migrate the server and reconfigure the database (the database has no monitoring, and the monitoring starts with tns-12545, tns-12560, tns-00515 errors)
Use playbook in ansible
C语言实现发牌功能基本方法
A trick to teach you to easily understand Potter's map
Ansible中常用的模块