meryl, refer thes two file for what you want, JavaScriptCore/kjs/config.h WebCore/WebCorePrefixAndroid.h
On Wed, Mar 11, 2009 at 10:43 AM, Meryl Silverburgh < silverburgh.me...@gmail.com> wrote: > > Can you please tell me how to enable ANDROID_INSTRUMENT ? > > > > On Tue, Mar 10, 2009 at 9:45 PM, vinay harugop <vinc...@gmail.com> wrote: > > ravi, > > I tried the same and found similar conflicts in the namespace when > > ANDROID_INSTRUMENT was enabled. > > Modify platform/android/SystemTimeAndroid.cpp, > > platform/android/jni/WebViewCore.cpp and WebCore/WebCorePrefixAndroid.h > for > > namespace conflicts. > > -vinay harugop > > > > On Wed, Mar 11, 2009 at 4:30 AM, androido...@gmail.com > > <androido...@gmail.com> wrote: > >> > >> All, > >> > >> I am looking at the % of time spent on different functions of Browser. > >> For e.g i am let us say cnn.com takes 12 secs to load on the android > >> browser. > >> I wish to understand how much of it is being spent in CSS/XML parsing, > >> HTML parsing, MIME type decoding, Java Script etc. How much of time is > >> spent in kernel and how much in user space. > >> > >> I found a lot of instrumentation in the code. But i am unable to > >> enable some of them. > >> > >> I did enable a few in BrowserActivity.java which provides me Pageload > >> times that uses SystemClock.uptimeMillis(). Also i see we have > >> traceview methods in BrowserActivity.java, which i enabled by changing > >> BrowserSetting.java 'tracing' value to true. > >> > >> Any ideas of how to profile webkit core functionalities? > >> > >> regards, > >> Ravi > >> Software Engineer, > >> Texas Instruments Inc. > >> Dallas,TX >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---