美文网首页iOS工程配置
INSTRUMENTS调试工具的使用(五十五) —— 分析模板和

INSTRUMENTS调试工具的使用(五十五) —— 分析模板和

作者: 刀客传奇 | 来源:发表于2018-06-20 09:16 被阅读0次

    版本记录

    版本号 时间
    V1.0 2018.06.20

    前言

    我们在做app的时候,不是做完功能就结束了,很多时候是需要进行检查和优化的,而xcode自带了一个很好的检查工具,可以检测内存泄漏。还可以查看哪一个方法比较耗时。还可以检测离屏渲染等等,随后的几篇我们就说一下这个工具的使用。感兴趣的可以看这几篇。
    1.INSTRUMENTS调试工具的使用(一)
    2.INSTRUMENTS调试工具的使用(二)
    3.INSTRUMENTS调试工具的使用(三)
    4.INSTRUMENTS调试工具的使用(四)
    5.INSTRUMENTS调试工具的使用(五)
    6.INSTRUMENTS调试工具的使用(六)
    7.INSTRUMENTS调试工具的使用(七)
    8.INSTRUMENTS调试工具的使用(八)
    9.INSTRUMENTS调试工具的使用(九)
    10. INSTRUMENTS调试工具的使用(十)
    11. INSTRUMENTS调试工具的使用(十一) —— 简介(一)
    12. INSTRUMENTS调试工具的使用(十二) —— 通常任务之启动Instruments(一)
    13. INSTRUMENTS调试工具的使用(十三) —— 通常任务之简单了解Instruments(二)
    14. INSTRUMENTS调试工具的使用(十四) —— 通常任务之创建、保存和打开跟踪文档(三)
    15. INSTRUMENTS调试工具的使用(十五) —— 通常任务之指定目标应用和设备(四)
    16. INSTRUMENTS调试工具的使用(十六) —— 通常任务之访问和使用个别仪器(五)
    17. INSTRUMENTS调试工具的使用(十七) —— 通常任务之记录、暂停和停止跟踪(六)
    18. INSTRUMENTS调试工具的使用(十八) —— 导航收集的数据之关于数据分析(一)
    19. INSTRUMENTS调试工具的使用(十九) —— 导航收集的数据之导航时间轴窗格(二)
    20. INSTRUMENTS调试工具的使用(二十) —— 导航收集的数据之导航详细面板(三)
    21. INSTRUMENTS调试工具的使用(二十一) —— 导航收集的数据之将数据映射到源代码(四)
    22. INSTRUMENTS调试工具的使用(二十二) —— 导航收集的数据之查看您应用的源代码(五)
    23. INSTRUMENTS调试工具的使用(二十三) —— 分析你App的性能之测量CPU使用情况(一)
    24. INSTRUMENTS调试工具的使用(二十四) —— 分析你App的性能之测量图形性能(二)
    25. INSTRUMENTS调试工具的使用(二十五) —— 分析你App的性能之监视网络和文件I / O(三)
    26. INSTRUMENTS调试工具的使用(二十六) —— 分析你App的内存使用之关于内存分析(一)
    27. INSTRUMENTS调试工具的使用(二十七) —— 分析你App的内存使用之检测内存使用(二)
    28. INSTRUMENTS调试工具的使用(二十八) —— 分析你App的内存使用之找到废弃的内存(三)
    29. INSTRUMENTS调试工具的使用(二十九) —— 分析你App的内存使用之找到内存泄露(四)
    30. INSTRUMENTS调试工具的使用(三十) —— 分析你App的内存使用之找到僵尸对象(五)
    31. INSTRUMENTS调试工具的使用(三十一) —— 分析你App的能源之测量能源影响(一)
    32. INSTRUMENTS调试工具的使用(三十二) —— 高级任务之导出和导入跟踪数据(一)
    33. INSTRUMENTS调试工具的使用(三十三) —— 高级任务之创建自定义Instruments(二)
    34. INSTRUMENTS调试工具的使用(三十四) —— 分析模板和工具之分析模板(一)
    35. INSTRUMENTS调试工具的使用(三十五) —— 分析模板和工具之Activity Monitor工具(二)
    36. INSTRUMENTS调试工具的使用(三十六) —— 分析模板和工具之Allocations工具(三)
    37. INSTRUMENTS调试工具的使用(三十七) —— 分析模板和工具之蓝牙开关日志工具(四)
    38. INSTRUMENTS调试工具的使用(三十八) —— 分析模板和工具之Carbon Events工具(五)
    39. INSTRUMENTS调试工具的使用(三十九) —— 分析模板和工具之Cocoa Events工具(六)
    40. INSTRUMENTS调试工具的使用(四十) —— 分析模板和工具之Connections工具(七)
    41. INSTRUMENTS调试工具的使用(四十一) —— 分析模板和工具之Core Animation工具(八)
    42. INSTRUMENTS调试工具的使用(四十二) —— 分析模板和工具之Core Data Cache Misses工具(九)
    43. INSTRUMENTS调试工具的使用(四十三) —— 分析模板和工具之Core Data Faults工具(十)
    44. INSTRUMENTS调试工具的使用(四十四) —— 分析模板和工具之Core Data Fetches工具(十一)
    45. INSTRUMENTS调试工具的使用(四十五) —— 分析模板和工具之Core Data Saves工具(十二)
    46. INSTRUMENTS调试工具的使用(四十六) —— 分析模板和工具之Counters工具(十三)
    47. INSTRUMENTS调试工具的使用(四十七) —— 分析模板和工具之CPU Activity Log工具(十四)
    48. INSTRUMENTS调试工具的使用(四十八) —— 分析模板和工具之Directory I/O工具(十五)
    49. INSTRUMENTS调试工具的使用(四十九) —— 分析模板和工具之Dispatch工具(十六)
    50. INSTRUMENTS调试工具的使用(五十) —— 分析模板和工具之Display Brightness Log工具(十七)
    51. INSTRUMENTS调试工具的使用(五十一) —— 分析模板和工具之Displayed Surfaces工具(十八)
    52. INSTRUMENTS调试工具的使用(五十二) —— 分析模板和工具之Energy Usage Log工具(十九)
    53. INSTRUMENTS调试工具的使用(五十三) —— 分析模板和工具之GPS On/Off Log工具(二十)
    54. INSTRUMENTS调试工具的使用(五十四) —— 分析模板和工具之GPU Driver工具(二十一)

    Overview

    Instrument Description Supported Platforms Related Profiling Templates
    监视GPU硬件活动。 该仪器监视GPU端事件 iOS Metal Application Instrument

    重要:本仪器不可以在Metal System Trace模板之外单独使用。


    Timeline Pane - 时间线窗格

    时间线窗格显示指示GPU硬件活动的图形。


    Record Settings - 记录设置

    instrument没有任何可配置的记录设置。


    Display Settings - 显示设置

    单击检查器窗格中的显示设置按钮以自定义以下显示设置。

    1. Track Display Settings - 跟踪显示设置

    这些设置控制信息在时间线窗格中的显示方式

    Setting Description Options
    Style How information is presented. This is a fixed setting, which can’t be changed GPU Hardware

    Detail Pane Columns - 详细面板列

    1. Narrative Heuristics Detail Type - Narrative Heuristics详细类型

    以下Narrative Heuristics列在详细信息窗格中可用。

    Column name Definition
    Timestamp The time an interesting event occurred
    Narrative Information about an interesting event that occurred

    2. GPU Activity Detail Type - GPU Activity详细类型

    以下GPU活动列在详细信息窗格中可用。

    Column name Definition
    Event An event within your processing pipeline. This can be a Vertex, Fragment, or Compute processing phase
    State The state of the event. This can be Busy or Idle
    Start Time The start time of the event
    End Time The end time of the event
    Duration The duration of the event
    Notes Additional notes about the event (e.g. "Partial render")

    3. Summary Detail Type - 总结详细类型

    详细信息窗格中提供以下总结列。

    Column name Definition
    Event/State A GPU hardware event within your processing pipeline and its corresponding state. An event may be a Vertex, Fragment, or Compute processing phase in a Busy or Idle state
    Count The number of events
    Total Duration The total duration of the events. This mainly includes the function processing time, but may also include time costs of additional operations (e.g. tiling)
    Min Duration The minimum duration of the events
    Avg Duration The average duration of the events
    Max Duration The maximum duration of the events
    Std Dev Duration The standard deviation of the events' duration

    后记

    本篇主要讲述了GPU Hardware工具,感兴趣的给个赞或者关注~~~~

    相关文章

      网友评论

        本文标题:INSTRUMENTS调试工具的使用(五十五) —— 分析模板和

        本文链接:https://www.haomeiwen.com/subject/qvfzeftx.html