Questions tagged [android-traceview]

Traceview is a graphical viewer for execution logs saved by an Android app.

Traceview is a graphical viewer for execution logs saved by your application. Traceview can help you debug your application and profile its performance.

To start Traceview, enter the following command from the SDK tools/ directory:

traceview

For more information on how to use Traceview, see [Profiling with Traceview and dmtracedump].1

53 questions
0
votes
1 answer

Android : Profiling code performance in Nexus 7 using TraceView

I am trying to profile my code using traceview as mentioned in the android tutorial . Since nexus 7 tab do not have a external sd card, so I am not able to pull the trace file using a adb pull .trace command. So my question is How can…
rohangulati
  • 251
  • 1
  • 4
  • 12
0
votes
0 answers

ImageView.setImageResource is the culprit for my stuttering ListView, what now?

So my ListView was stuttering on my phone, so I used TraceView to determine the culprit. @Override public View newView(Context context, Cursor cursor, ViewGroup parent) { View view = inflater.inflate(R.layout.menu_row, parent,…
VM4
  • 6,321
  • 5
  • 37
  • 51
0
votes
1 answer

Android : How to analyze the trace files programmatically?

I have a list of trace files and I need to analyze them. Is there any way to analyze them programmatically without using the tool traceview?
0
votes
0 answers

How to prioritize thread/Runnable in Android

I'm using an AsyncTask to do some task in the background (loading data from disk) for each row of a ListView. However, when I use TraceView to see how CPU is shared between my different app threads I end-up with a case where the main thread consume…
0
votes
1 answer

Can't open saved tracefile in TraceView - fails with "File could not be found"

I want to open a saved .trace file, which I created using Debug.startMethodTracing() directly from the code. However, after copying it to my PC and trying to open it in DDMS, I get the error "The File [myfile].trace could not be found", which is…
Lennart
  • 9,657
  • 16
  • 68
  • 84
0
votes
1 answer

Bitmap on SurfaceView Optomization

This link: http://www.mediafire.com/view/?hr441qalu6b6d7s points to an image that show that my drawing of Bitmaps is taking a long time and resulting in lag in my application. How can I optimize this so as not to cause so much lag. Currently I…
Josh
  • 61
  • 9
0
votes
0 answers

Getting a large amount of data with traceview

I'm running some benchmarks and some overflow the traceview buffer, I'm already using the max buffer size that I can (400MB). How can I get these data? (I need the hole benchmark to be traced, not only some smaller portions of the benchmark, each…
Deadlock
  • 799
  • 1
  • 7
  • 15
0
votes
2 answers

Android - CPU Utilization of website

I have used commands like Top and also tools like Traceview to understand the cpu utilization of native android application. But, can we use these tools to track while running a website on device browser ? If possible please share me your ideas of…
Prem
  • 4,823
  • 4
  • 31
  • 63
1 2 3
4