On Wed, Oct 6, 2010 at 6:58 AM, askPrins <[email protected]> wrote:

> As a developer I would say it is VERY important to measure how
> efficient your implementation (code) is.
> CPU usage (which can sucks the battery) and memory usage etc are very
> important issues specially for developers.
>

For profiling your app, use this:
http://developer.android.com/reference/android/os/Debug.html#threadCpuTimeNanos()

Or better yet, run the profiler on your code.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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