Coder Social home page Coder Social logo

androidtest's Introduction

AndroidTest

Gallery -监测APP的Cpu,Memory使用情况

Features

1.输入监测App包名,监测Cpu,Memory使用情况

2.折线图采用achartengine-1.1.0.jar

3.监测信息存储在sdcard的Gallery目录下;Cpu的监测日志为CpuInfo.txt,Memory的监测日志为MemInfo.txt

How to use Gallery

Step1.输入监测App包名,包名可以通过adb shell pm list packages获取

Step2.点击“创建日志”清空日志信息

Step3.点击“开始监测”会打开被测app并写入日志信息,目前采样数据间隔为1min,可以通过Utils.DELAYTIME设置采样间隔。

Step4.点击“分析日志”会分别获取Cpu,Memory采样信息,Cpu采样信息单位为%,Memory采样信息单位转为对应字节(形如MB)

Step5.点击Cpu信息获取Cpu使用情况,点击Memory信息获取Memory使用情况;若折线图显示超出可视范围,可通过手动触摸调节显示范围

androidtest's People

Contributors

wsjunjin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.