Hi Folks,

I am looking to find out the “launch latency” of an application by
writing an Android Java Application. For instance, when we launch a
Browser, I want to know how long it takes to the application to come
to the ui and ready to take an URL. The Logcat message prints the
required information. But I am looking to get this information
programmatically.
01-06 22:11:24.059: INFO/ActivityManager(922): Displayed activity
com.android.browser/.BrowserActivity: 1678 ms

Also, is there a way to find the current LINUX and JAVA memory usage,
CPU usage of an application/task from Java layer?

I appreciate if you can provide some pointer on the same.

FYI, currently I am not looking to use “adb shell top” or “adb shell
cat/proc/meminfo” commands. I want the same information on the
embedded side, if possible from Java layer, at real time.

Regards,
-Arun

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

Reply via email to