[android-developers] Re: Traceview only getting 5 seconds of data

2010-08-23 Thread Mike Reed
I'm seeing the same thing right now, but it's only 4300ms. One run I
got 3700ms, and another was 4000ms. I have no idea why it's missing so
much.

On Aug 17, 7:17 am, Cleverson  wrote:
> Hi,
>
> I'm usingtraceviewto identify bottlenecks in my app. If I use the
> emulator, everything works fine. But when the device is used, no
> matter how long I run the app,traceviewonly gets the initial 5
> seconds of my session and nothing more.
> I also noticed an error message in the console:Traceview: (:10301): 
> GLib-WARNING **: g_set_prgname() called
> multiple times
>
> Have you ever experienced this problem?
> Any tip?
> Thanks in advance!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Traceview only getting 5 seconds of data

2010-08-24 Thread Mike Reed
I found that there is a startMethodTracing call that takes a buffer
size, but it gives me an IllegalArgumentException every time.

Anyone have an idea why it won't take startMethodTracing("String", 8,
0); ?


http://developer.android.com/reference/dalvik/system/VMDebug.html#startMethodTracing(java.lang.String,
int, int)


On Aug 23, 5:31 pm, Mike Reed  wrote:
> I'm seeing the same thing right now, but it's only 4300ms. One run I
> got 3700ms, and another was 4000ms. I have no idea why it's missing so
> much.
>
> On Aug 17, 7:17 am, Cleverson  wrote:
>
>
>
> > Hi,
>
> > I'm usingtraceviewto identify bottlenecks in my app. If I use the
> > emulator, everything works fine. But when the device is used, no
> > matter how long I run the app,traceviewonly gets the initial 5
> > seconds of my session and nothing more.
> > I also noticed an error message in the console:Traceview: 
> > (:10301): GLib-WARNING **: g_set_prgname() called
> > multiple times
>
> > Have you ever experienced this problem?
> > Any tip?
> > Thanks in advance!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en