[android-developers] Re: cpu usage information

2012-03-13 Thread oneking
Thank you. have you an example code? I am new to android programation On Mar 13, 11:57 am, Marcin Orlowski wrote: > On 12 March 2012 18:11, oneking wrote: > > > How to make a pie chart that tells me cpu usage or memory ram? > > > This is a example: > > >http://gadgetsdna.com/wp-content/uploads/

Re: [android-developers] Re: CPU usage stats

2010-10-06 Thread Dianne Hackborn
On Wed, Oct 6, 2010 at 6:58 AM, askPrins 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 ap

[android-developers] Re: CPU usage stats

2010-10-06 Thread Moto
I know it's not the same using an actual phone than an emulator, but on the emulator there is an option I believe that shows CPU status... -Moto On Oct 6, 9:58 am, askPrins wrote: > As a developer I would say it is VERY important to measure how > efficient your implementation (code) is. > CPU us

[android-developers] Re: CPU usage stats

2010-10-06 Thread askPrins
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. On Sep 8, 8:18 pm, Frank Weiss wrote: > On Wed, Sep 8, 2010 at 3:01 AM, Andy

Re: [android-developers] Re: CPU usage stats

2010-09-08 Thread Frank Weiss
On Wed, Sep 8, 2010 at 3:01 AM, Andy wrote: > Hi all, > > Thanks for the input and I think these comments answer my question. > Maybe it would be an idea to allow an SDK api to access these stats as > they, in my view for applications, can be very useful due to the heavy > multitasking nature of

[android-developers] Re: CPU usage stats

2010-09-08 Thread Andy
Hi all, Thanks for the input and I think these comments answer my question. Maybe it would be an idea to allow an SDK api to access these stats as they, in my view for applications, can be very useful due to the heavy multitasking nature of android? Regards, Andy On Sep 7, 12:30 pm, Mark Murphy

Re: [android-developers] Re: CPU usage stats

2010-09-07 Thread Mark Murphy
On Tue, Sep 7, 2010 at 4:25 AM, CHENG LUO wrote: > Maybe you could have a look at com.android.server.ProcessStats :) That is not part of the Android SDK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commons

[android-developers] Re: CPU usage stats

2010-09-07 Thread CHENG LUO
Hi, Maybe you could have a look at com.android.server.ProcessStats :) Cheng On 6 sep, 17:33, Andy wrote: > Hi everyone, > > Does anyone know of a direct api that allows access to CPU usage > statistics for different applications/tasks running inside android? > All I can find is data available b

Re: [android-developers] Re: CPU usage stats

2010-09-06 Thread Dianne Hackborn
There isn't an SDK API for this. Also note that /proc is not part of the SDK -- you can't count on the contents of /proc remaining compatible in future versions. On Mon, Sep 6, 2010 at 9:45 AM, Andy wrote: > Thats great thanks but I want to access these stats from inside a > running Activity...

Re: [android-developers] Re: CPU usage stats

2010-09-06 Thread Frank Weiss
Not in the SDK. I suppose because most uses of this is by developers who can simply use adb or ddms. -- 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 fro

[android-developers] Re: CPU usage stats

2010-09-06 Thread Andy
Thats great thanks but I want to access these stats from inside a running Activity...just wondered if there was a direct api to use. Regards, Andy On Sep 6, 5:02 pm, "Maps.Huge.Info (Maps API Guru)" wrote: > If you want to do it from the shell, just use top. > > -John Coryat -- You received

[android-developers] Re: CPU usage stats

2010-09-06 Thread Maps.Huge.Info (Maps API Guru)
If you want to do it from the shell, just use top. -John Coryat -- 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-

[android-developers] Re: CPU usage & power management question

2010-04-06 Thread Lauri Ehrenpreis
investigated this myself littlebit: Indeed the top only knows about currently configured cpu frequency so if power management has set it to 245Mhz on nexusone then com.android.wallpaper app can easily show 20..30% cpu usage but at 499mhz the cpu usage is ~12%... Found a nice solution to this: to

[android-developers] Re: CPU usage detect

2009-09-30 Thread fulanito
open a terminal on the device with 'adb shell', and then use the standart linux 'top' command. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Re: CPU usage api's query

2009-07-15 Thread dadical
Is there any way to monitor CPU usage of a java thread from android? It doesn't seem that android supports the ThreadMXBean or the ManagementFactory. What is available? I noticed that Process offers some very limited information, but I don't think that I can narrow that down to actual thread usa

[android-developers] Re: CPU usage api's query

2009-07-15 Thread Dianne Hackborn
There is no such concept as a "high priority application running which might need the entire CPU," sorry. On Wed, Jul 15, 2009 at 6:06 AM, sukumar bhashyam < bhashyam.suku...@gmail.com> wrote: > Hello, > I'm trying to develop a service, which needs to be run in background as a > low priority tas

[android-developers] Re: ::CPU usage

2008-12-08 Thread fcalzada
Hi, Do you have any real benchmark to provide (based on real phone) ? Like it is done on the jbenchmark site? (Although it's only for java code) On Dec 7, 3:06 am, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > You really can't judge performance based on the emulator.  Ignoring the CPU > emula

[android-developers] Re: ::CPU usage

2008-12-06 Thread Dianne Hackborn
You really can't judge performance based on the emulator. Ignoring the CPU emulation, there is no emulation of the memory bus, it doesn't do any graphics hardware acceleration, etc. Ultimately you need to do development on a real device, that is the only way to know how your application is actual

[android-developers] Re: ::CPU usage

2008-12-06 Thread Xavier Mathews
Yes it will depending on the processor speed of the device. 50% Is Alot. On 12/06/2008, Mark Murphy <[EMAIL PROTECTED]> wrote: > > Imran wrote: >> Hi All...!!! >> >>i have developed a small game application... i have a >> problem... when i run the application it is using 50% of CPU (min

[android-developers] Re: ::CPU usage

2008-12-06 Thread Mark Murphy
Imran wrote: > Hi All...!!! > >i have developed a small game application... i have a > problem... when i run the application it is using 50% of CPU (mine is > 2Ghz processor )... will this create a problem in actual device.. Possibly. The emulator is inefficient, in that it has to co