Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The NetMeter CPU usage is calculated wrongly #3

Open
GoogleCodeExporter opened this issue Feb 21, 2016 · 0 comments
Open

The NetMeter CPU usage is calculated wrongly #3

GoogleCodeExporter opened this issue Feb 21, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

When you calcule the CPU usage of the application you don't acces to the stat 
file of the application. Instead, what you calculate with the NetMeter CPU 
usage is the CPU usage for all applications.

You can get the procces ID of the app whit the android.os.Process.myPid() 
static method.

Original issue reported on code.google.com by [email protected] on 26 Jul 2010 at 3:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant