Reputation: 3345
How to derive the average CPU and memory of an android application from the Android Monitor ?
https://developer.android.com/studio/profile/android-monitor.html
I can't find any options where I can get the raw values of the cpu and memory monitor so I can average them over a specific time.
For example, how can access the values of this CPU graph and average them, lets for ten minutes? https://developer.android.com/studio/profile/am-cpu.html
Update:
AS @Pein suggested, I checked these usages in the system information of Android Device Monitor. However, now there are two CPU usages for each process such as user and kernal. My understanding is that these two usages are not occurring at the same time which means the actual cpu usage should be an average of these two. For example, the cpu usage of my app in user mode is shown as 9% and in kernel mode as 3%. So let me summarize the questions again.
Upvotes: 3
Views: 3435
Reputation: 1079
In Device monitor check System information tab. There you can find memory usage and cpu usage Also you can select your process and start profiling in order to check how much time takes your methods
Upvotes: 1