Where is "dump HPROF file" button in DDMS

by James Wang » Thu, 19 Nov 2009 11:05:20 GMT


Sponsored Links
 Here, http://android.git.kernel.org/?p=platform/ 
dalvik.git;a=blob_plain;f=docs/heap-profiling.html;hb=HEAD is a
description about Dalvik Heap Profiling.

In "Android 1.6 ("Donut")" section, it says "Select your application
and click the "dump HPROF file" button. ".
I can find that button in DDMS.

I found there were three items in Device menu:
1.dump device state
2.dump app state(always disabed)
3.dump radio state

Is "dump app state" button the "dump HPROF file" button?

Best Regards.

James

--



Where is "dump HPROF file" button in DDMS

by fadden » Fri, 20 Nov 2009 06:27:56 GMT


 


It's not in a menu.  There's a row of small button icons in the top
left:

  show heap updates
  dump HPROF file
  cause an immediate GC
  show thread updates
  start method profiling
  halt the target VM

--


Sponsored Links


Where is "dump HPROF file" button in DDMS

by James Wang » Fri, 20 Nov 2009 08:56:23 GMT


 fadden, Thank you!

I tried my ddms and did not see the buttons you mentioned.

In my ddms, there is only 4 buttons:
show heap updates
cause an immediate GC
show threads updates
halt the target VM

I checked out the version of DDMS:v0.8.1.

In fact, I got 1.5 and 1.6 SDK installed in my box. And whatever
version of ddms I ran(start from shell directly), and checked out the
version of DDMS, I got the same :v0.8.1. Is that supposed to be right?

--



Where is "dump HPROF file" button in DDMS

by James Wang » Fri, 20 Nov 2009 10:32:14 GMT


 I have confirmed that these two buttons(dump HPROF file and start
method profiling) only appears since 2.0.
So what the document( http://android.git.kernel.org/?p=platform/  ) says
is wrong.




--



Where is "dump HPROF file" button in DDMS

by fadden » Sat, 21 Nov 2009 05:35:56 GMT


 


Yes, you're correct.  Somehow I thought it went into 1.6.  I'll fix
the docs for a future release.

--



Other Threads

1. using Pmem in skia image decoding

Hello all,


I have a hardware which requires contiguous memory for decoding. I wnat to
use it for decoding. Can I use Pmem to do this ? Are the buffers passed to
an ondecode function of SkImageDecoder_* ()  from pmem nad can I use them
directly ?

-- 
with regards vishal

--~--~---------~--~----~------------~-------~--~----~

2. how can I retrieve the list from the PHP DataBase

Hi Every One

Is there any Method To retrive the list from the Php Database

I need to retrice the 20 names fron the php server

how can i get that server
can any body help me regarding this ...

thanks in advance
--~--~---------~--~----~------------~-------~--~----~

3. "Apple iPhone Developers Mostly Do n鈥檛 Make Much Money"

4. help with MultiAutoCompleteTextView.

5. Animated window transitions in Android 1.5

6. Android built in Email application can not send attachment which type is not image/* or video/*?

7. concurrent audio playbacks through MIO