最終更新:2016-07-04 (月) 15:40:21 (2851d)  

Traceview
Top / Traceview

A Graphical Log Viewer

http://developer.android.com/tools/help/traceview.html

概要

  • Traceview is a graphical viewer for execution logs saved by your application.
  • Traceview can help you debug your application and profile its performance.
  • 実行時にログを取得しておいて、そのログをグラフィカルに表示

ログファイル

  • generated by adding tracing code to your application or by DDMS

使い方

クラス

  • // start tracing to "/sdcard/calc.trace"
    Debug.startMethodTracing("calc");
    // ...
    // stop tracing
    Debug.stopMethodTracing();

メモ

  • Note: Running traceview from the command line has been deprecated.

Profiling with Traceview and dmtracedump

関連