胡燕
开通时间:..
最后更新时间:..
点击次数:
论文类型:期刊论文
发表时间:2018-09-15
发表刊物:SCIENCE OF COMPUTER PROGRAMMING
收录刊物:SCIE
卷号:162
期号:,SI
页面范围:132-147
ISSN号:0167-6423
关键字:Android application; Energy consumption analysis; Energy prediction; Linear regression
摘要:The energy consumption problem is a hot topic in Android communities. The high energy cost caused by improper development brings lots of complaints from users. An effective and efficient energy consumption analysis technique can guide Android developers to improve the energy efficiency of their apps. Existing researches on this problem focus on either system entity level that gives the energy consumption of the hardware, or source line level that calculates the energy cost of source codes. With the consideration of accuracy and cost of analysis, this paper proposes a lightweight and automatic approach to analyze and predict the energy consumption for Android apps. We conduct the study from a method-level and API-level perspective. The method-level analysis gives developers facts about the energy consumption of the user methods in their apps, while the API-level analysis shows the energy consumption of Android APIs, which can help them make good decisions about how to choose appropriate APIs to improve the energy efficiency of an Android app. We construct a statistical model from a set of energy values obtained by Dalvik bytecode based instrumentation and software-based measurement, to predict the energy consumption of method sequences or API sequences. The experiments on several real-world apps show that the proposed techniques have low overhead while persisting acceptable accuracy. (C) 2017 Elsevier B.V. All rights reserved.