gpt4 book ai didi

iphone - 对象分配工具中的列有何含义?

转载 作者:行者123 更新时间:2023-12-03 18:23:06 24 4
gpt4 key购买 nike

我无法找到这方面的文档。没有快速信息。

这些列具有以下不透明标题:

Category

Live Bytes

# Living

# Transitory

Overall Bytes

# Overall

# Allocations (Net / Overall)
<小时/>

是否有文档显示这些列的含义?无需阅读 600 页?

最佳答案

仪器用户指南的“使用 ObjectAlloc 仪器分析数据”部分用于提供该仪器的详细 View 的一些描述(整个指南已被重写):

The Detail pane (while it is in Table mode) displays other useful information to help you spot potential allocation issues. The net versus overall allocations column of the table shows a histogram of the currently active objects and the total number that were ever created. As the ratio of net allocations to overall allocations shrinks, the color of the histogram bar changes. Blue histogram bars represent a reasonable ratio while colors shifted towards the red spectrum represent lower ratios that might warrant some investigation.

对象分配按类型分组,类型显示在Category标题下。 Live Bytes 列指示已分配且仍在内存中的此类对象的数量。同样,# Living 列告诉您内存中仍有多少此类型的对象。 Overall Bytes#Overall 列显示内存中的总大小以及该类型的所有已分配对象的数量,无论它们此时是否仍在内存中。最后,# Transitory 只是 # Living#Overall 之间的区别,显示在该过程中创建和销毁了多少该类型的对象。您正在分析的时间段。

此表右侧的直方图是由文档中上述部分描述的,但它只是提供了上述数字的图形度量。

关于iphone - 对象分配工具中的列有何含义?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2794420/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com