iOS Instrument各列是代表意思

Live Byte :  活着的对象占了多少个字节 #Living:   当前有多少个活着的对象 #Transitory    :创建后又销毁了的对象有多少个 Overall Bytes   :创建过的对象一共用过多少个字节(包括销毁了的) #Overall           : 一共创建过多少个对象(包括销毁了的) #Allocations: 直方图:颜色就起个标识作用, 那个 net我不确定是不是指网络占用的内存 同时也可以参考一个来自stackoverflow的英文描述
The "Analyzing Data with the ObjectAlloc Instrument" section of the Instruments User Guide used to provide some description of the detail view for this instrument (the whole guide has since been rewritten):
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.
Object allocations are grouped by type, which is what appears under the  Category header. The  Live Bytes column indicates how many of this type of object have been allocated and still are around in memory. Likewise, the  # Living column tells you how many objects of this type are still around in memory. The  Overall Bytes and  # Overall columns show the total size in memory and number of all allocated objects of that type, whether or not they are still around in memory at this time. Finally, the  # Transitory is simply the difference between  # Living and  # Overall, showing how many objects of that type were created and destroyed during the time period you are analyzing. The histogram at the right of this table is described by the above-quoted section from the documentation, but it simply provides a graphical measure of the numbers described above.
http://stackoverflow.com/questions/2794420/what-do-the-columns-in-the-object-alloc-instrument-mean  或者参考来自苹果开发者中心的帮助: https://developer.apple.com/library/mac/#documentation/developertools/conceptual/InstrumentsUserGuide/Introduction/Introduction.html
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值