在Xcode 7 Instruments中解释Time Profiler

时间:2016-07-26 00:04:45

标签: ios xcode7 instruments

“546x”等是什么意思?单击(i)图标会显示“Heaviest Backtraces”列表,这在Time Profiler模板的上下文中意味着什么?文档没有对此有所了解。

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:4)

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