Android TraceView分析日志
发布日期:2021-05-14 01:34:02 浏览次数:11 分类:精选文章

本文共 2377 字,大约阅读时间需要 7 分钟。

������ enviado por Lucas Leal em 12/10/21 punished

������������Android���������������������������������

���Android���������������������������������������������������������������������������������������������������������������������������������������Android Device Monitor���������������������

������������������������

1. Debug���������������

������Debug���������������������������������������������������������������������������������������������������������������������������������������

���������������

  • ���������������SD������������������������������������������

  • ������������������������������������������������������������������

    Debug.startMethodTracing("traceDemo");
  • ���������������������������������������������������������������

    Debug.stopMethodTracing();
  • ������ADB���������������������������������������������������/sdcard/tracedemo.trace���������������������������������������������������������������

    adb pull /sdcard/tracedemo.trace .
  • ���������������������������Android Device Monitor���������������������������������������������������

2. Android Device Monitor������������

���������������

  • ������Android Device Monitor������������������������������

  • ���������������Android Device Monitor��� > ���������������������������

  • ���������Start Method Profiling������������������������

  • ������������������������������Stop Method Profiling������������

������������������������������������������������������������������������������

������TraceView������������

���������������

TraceView���������������������������������������������������������������

���������������������������������������������������������������������������������������������

���������������������������������������������������������������������������������������������������������

���������������������������

  • Incl Cpu Time %������������������������������������������������������������������������������

  • Excl Cpu Time %���������������������������������������������������������������������������������

  • Call+Recur Calls/Total������������������������������������������������������������������������������

  • Cpu Time/Call������������������������������������������������������������������������������������������

���������������������������������������������������������������������������������������������

���������������������Debug������Android Device Monitor������������������������������������������������������������

上一篇:Java SWT(一) 创建SWT项目
下一篇:Android Gradle打包

发表评论

最新留言

网站不错 人气很旺了 加油
[***.192.178.218]2025年04月08日 17时22分55秒