ios - 在 Xcode 7 Instruments 中解释 Time Profiler

标签 ios xcode7 instruments

“546x”等到底是什么意思?单击 (i) 图标会显示“最重回溯”列表,这在 Time Profiler 模板的上下文中意味着什么?文档对此没有太多说明。

enter image description here

enter image description here

最佳答案

默认情况下,Time Profiler 工具每秒记录调用堆栈 1000 次。调用堆栈的每个记录都是一个示例。 x 之前的数字表示 Time Profiler 仪器记录的样本数。 546x 表示 Instruments 记录了包含该行代码的 546 个样本。

关于ios - 在 Xcode 7 Instruments 中解释 Time Profiler,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38579180/

相关文章:

swift - 检测 UITabBar 项目何时选择 swift

ios - 属性属性 'nonnull' 和 'weak' 是互斥的

objective-c - 寻找内存泄漏时仪器中的颜色

ios - UIAutomation中如何识别添加到UIButton的 subview (imageviews)?

objective-c - 通过 USB 安装 IPA?

ios - 是什么影响了 IOS 应用程序中 Assets 的大小,我该如何缩小它?

ios - iOS Playground do 方法中的 Json 解析未解析

objective-c - 为什么我在设备上使用 Instruments 而在模拟器上没有内存泄漏

objective-c - UIViewController 编程启动/替换

ios - 自动放大一组 map 标记