Monitoring Energy Consumption in Android Applications Marco Couto Departamento de Informática Universidade do Minho João Saraiva Universidade.

Slides:



Advertisements
Similar presentations
SIF: A Selective Instrumentation Framework for Mobile Apps Shuai Hao, Ding Li, William G.J. Halfond Ramesh Govindan.
Advertisements

Validating the Evaluation of Adaptive Systems by User Profile Simulation Javier Bravo and Alvaro Ortigosa {javier.bravo, Universidad.
Android Power Calculations Approaches and Best Practice Hafed Alghamdi.
The Path to Multi-core Tools Paul Petersen. Multi-coreToolsThePathTo 2 Outline Motivation Where are we now What is easy to do next What is missing.
8th Workshop "Software Engineering Education and Reverse Engineering", Durres RFAgent – an eLearning Supporting Tool Asya Stoyanova-Doycheva University.
Civil and Environmental Engineering Carnegie Mellon University Sensors & Knowledge Discovery (a.k.a. Data Mining) H. Scott Matthews April 14, 2003.
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
A Model-Driven Framework for Architectural Evaluation of Mobile Software Systems George Edwards Dr. Nenad Medvidovic Center.
COMS E Cloud Computing and Data Center Networking Sambit Sahu
Parameterizing Random Test Data According to Equivalence Classes Chris Murphy, Gail Kaiser, Marta Arias Columbia University.
KIT – University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association KIT – SOFTWARE DESIGN AND QUALITY GROUP
State coverage: an empirical analysis based on a user study Dries Vanoverberghe, Emma Eyckmans, and Frank Piessens.
Achieving Long-Term Surveillance in VigilNet Pascal A. Vicaire Department of Computer Science University of Virginia Charlottesville, USA.
SensEye: A Multi-Tier Camera Sensor Network by Purushottam Kulkarni, Deepak Ganesan, Prashant Shenoy, and Qifeng Lu Presenters: Yen-Chia Chen and Ivan.
Efficient Privilege De-Escalation for Ad Libraries in Mobile Apps Bin Liu (SRA), Bin Liu (CMU), Hongxia Jin (SRA), Ramesh Govindan (USC)
Ambulation : a tool for monitoring mobility over time using mobile phones Computational Science and Engineering, CSE '09. International Conference.
Qi Alfred Chen University of Michigan
Portable and Predictable Performance on Heterogeneous Embedded Manycores (ARTEMIS ) ARTEMIS Project Review 28 nd October 2014 Multimedia Demonstrator.
Providing a Software Quality Framework for Testing of Mobile Applications Dominik Franke and Carsten Weise RWTH Achen University Embedded Software Laboratory.
Improving Effectiveness of Regression Testing of Telecommunications Systems Software Sami Torniainen Supervisor: Professor Raimo Kantola.
THIN CLIENT COMPUTING USING ANDROID CLIENT for XYZ School.
Software Engineering Laboratory, Department of Computer Science, Graduate School of Information Science and Technology, Osaka University What Kinds of.
BY, CHRISTOPHER CHIOSA Android Applications. Android App Development There are over 80,000 apps on the Google Play Store. The global app economy reached.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
Evaluating Impact of Storage on Smartphone Energy Efficiency David T. Nguyen.
Computers in Urban Planning Computational aids – implementation of mathematical models, statistical analyses Data handling & intelligent maps – GIS (Geographic.
GEOREMINDERS ANDROID APPLICATION BY: ADRIENNE KECK.
Advisory report Assessment & Improvement of IT Services / IT Service Management Nynke de Vries.
Aspect Mining Eclipse Plug-in Provide the integrated aspect mining environment in the Eclipse IDE. Consists of the following functional components –Flexible.
Procrastinator: Pacing Mobile Apps’ Usage of the Network mobisys 2014.
Mobile Device Programming
Abstract We present two Model Driven Engineering (MDE) tools, namely the Eclipse Modeling Framework (EMF) and Umple. We identify the structure and characteristic.
Debug Concern Navigator Masaru Shiozuka(Kyushu Institute of Technology, Japan) Naoyasu Ubayashi(Kyushu University, Japan) Yasutaka Kamei(Kyushu University,
SOFTWARE METRICS. Software Process Revisited The Software Process has a common process framework containing: u framework activities - for all software.
Copyright © 2015 NTT DATA Corporation Kazuo Kobori, NTT DATA Corporation Makoto Matsushita, Osaka University Katsuro Inoue, Osaka University SANER2015.
VICOMTECH VISIT AT CERN CERN 2013, October 3 rd & 4 th O.COUET CERN/PH/SFT DATA VISUALIZATION IN HIGH ENERGY PHYSICS THE ROOT SYSTEM.
® IBM Software Group © 2007 IBM Corporation Rational Transformation Workbench Analyzer for Eclipse V3.1 Name Title address.
Survey of Tools to Support Safe Adaptation with Validation Alain Esteva-Ramirez School of Computing and Information Sciences Florida International University.
Power Guru: Implementing Smart Power Management on the Android Platform Written by Raef Mchaymech.
Enhancing Mobile Apps to Use Sensor Hubs without Programmer Effort Haichen Shen, Aruna Balasubramanian, Anthony LaMarca, David Wetherall 1.
SOMA Service-Oriented Mobile learning Architecture Fabian Kromer Andreas Kuntner
Eclipse.NET An Integration Platform for ProjectIT-Studio João Saraiva IST & INESC-ID (GSI)
Internet of Things. Creating Our Future Together.
A Software Energy Analysis Method using Executable UML for Smartphones Kenji Hisazumi System LSI Research Center Kyushu University.
Nguyen Thi Thanh Nha HMCL by Ying Zhang, Gang Huang, Xuanzhe Liu, Wei Zhang, Hong Mei, and Shunxiang Yang Refactoring Android Java Code for On-Demand Computation.
A method for using cloud computing for Android By: Collin Molnar.
Application-Aware Traffic Scheduling for Workload Offloading in Mobile Clouds Liang Tong, Wei Gao University of Tennessee – Knoxville IEEE INFOCOM
TRACE ANALYSIS AND MINING FOR SMART CITIES By G. Pan Zhejiang Univ., Hangzhou, China G. Qi ; W. Zhang ; S. Li ; Z. Wu ; L. T. Yang.
AppAudit Effective Real-time Android Application Auditing Andrew Jeong
Big Data: Every Word Managing Data Data Mining TerminologyData Collection CrowdsourcingSecurity & Validation Universal Translation Monolingual Dictionaries.
Monitoreo y Administración de Infraestructura Fisica (DCIM). StruxureWare for Data Centers 2.0 Arturo Maqueo Business Development Data Centers LAM.
May 2003 Statistical Exception Detection System, Based on MASF Technique Igor Trubin, Ph.D., Kevin McLaughlin Capital One Services, Inc.
3 Important Performance tracking tools in an Android Application Development Workflow Here are 3 tools every Android application developer should familiarize.
WHAT THE APP IS THAT? DECEPTION AND COUNTERMEASURES IN THE ANDROID USER INTERFACE.
MSP’05 1 Gated Memory Control for Memory Monitoring, Leak Detection and Garbage Collection Chen Ding, Chengliang Zhang Xipeng Shen, Mitsunori Ogihara University.
Introduction to Machine Learning, its potential usage in network area,
Market Share. Market Share Market Share Android Dev Basics Android apps are developed in Java and XML. The hardest part of Android dev is coming up.
Green Software Engineering Prof
Di Zhang, Yuezhi Zhou, Xiang Lan, Yaoxue Zhang, Xiaoming Fu
Mining and Analyzing Data from Open Source Software Repository
Hui Chen, Shinan Wang and Weisong Shi Wayne State University
Background Energy efficiency is a critical issue for mobile device.
: Clone Refactoring Davood Mazinanian Nikolaos Tsantalis Raphael Stein
Authors: Ing-Ray Chen; Yating Wang Present by: Kaiqun Fu
Adaptive Code Unloading for Resource-Constrained JVMs
BPM in E-Gov <Results of the Study> <Recommendations>
Monitoring Physical Activities Using Smartphones
MAPO: Mining and Recommending API Usage Patterns
Six Sigma Introduction 1 1.
Presentation transcript:

Monitoring Energy Consumption in Android Applications Marco Couto Departamento de Informática Universidade do Minho João Saraiva Universidade do Minho João Paulo Fernandes Universidade da Beira Interior Supervisors Master Thesis Integrated in the GreenSSCM project

Going Green : Motivation “The global energy system is on an unsustainable path” [Forbes Magazine, 2012] 2

Going Green : Motivation Concern about energy consumption IT is growing ◦Mostly focused on hardware; Recently, the influence of software has been studied as well In mobile devices area, the interest is even bigger ◦Due to battery lifetime – critical! 3 “close to 50% of the energy costs of an organization can be attributed to the IT departments” - [Harmon and Auseklis, 2009] “8% of the global energy consumption comes from IT” - [Mouftah and Kantarci, 2013]

Related Work Power Tutor - [L Zhang et al., 2010] DevScope, AppScope & UserScope - [W Jung et al.,‎ 2012] Calculating source line level energy information for android applications - [Li et al., 2013] Mining questions about software energy consumption - [Pinto et al., 2014] How does code obfuscation impact energy usage? - [Sahin et al., 2014] Mining energy-greedy API usage patterns in android apps: An empirical study - [Linares- Vasquez et al., 2014] 4 Using external measurement device Using power models (statistical approach)

Green Software : Research Questions 1. Is it possible to associate energy consumption to different code sections? 2. Is the execution time of a code fragment directly proportional to its energy consumption? 3. Is it possible to develop a tool that can automatically identify potential energy-inefficient code fragments? 5

Our Idea Associate energy consumption to different execution scopes Check if the energy consumption was excessive Classify software code fragments (methods) 6

The Tool : Green Droid 7 App’s Source Code App’s Tests Instrument App’s Source Code I App’s Tests I Build APP Tests. Execution Trace. Consumption. Execution Time For each test execution… Run Analyzer Results Display Results

Displaying the Results Application Under Test: 0xBenchmark 8

Method Classification Green ◦Never invoked when the energy consumption is excessive; Red ◦Invoked mostly when consumption is excessive; ◦7 out of 10 invocations occur when consumption is excessive; Yellow ◦Invoked both when consumption is excessive and when is not; Uncolored ◦Never invoked in any test. 9 Base Of Knowledge [Consumptions per Second] Arithmetic Mean

Results EXECUTION TIMETOTAL CONSUMPTION 10 CONSUMPTION PER SECOND

Contributions Detecting Anomalous Energy Consumption in Android Applications, ◦Brazilian Symposium on Programming Languages ◦Programming Languages, volume 877 ◦15 pages long, LNCS 1. Is it possible to associate energy consumption to different code sections? 2. Is the execution time of a code fragment directly proportional to its energy consumption? 3. Is it possible to develop a tool that can automatically identify potential energy-inefficient code fragments? 11

Future Work Evaluate the precision of the consumption measurements Adapt the tool to work as an Eclipse plugin (similar to Gzoltar [J Campos et al., 2012] ) Refactoring ◦Replacing potential energy-inefficient code fragments with more efficient ones that do the same task 12

Monitoring Energy Consumption in Android Applications Marco Couto Departamento de Informática Universidade do Minho João Saraiva Universidade do Minho João Paulo Fernandes Universidade da Beira Interior Supervisors Master Thesis Integrated in the GreenSSCM project