ABSTRACT
Measuring the energy spent by a software application is a problem that can be solved by having the proper hardware or software instruments. However, not always such tools are available or the provide resolution cannot fit the needs of the user, for instance when measuring a very small piece of code. This problem is particularly relevant on mobile software products, as they are developed to be executed in an environment limited in energy resources. Mobile software engineers should take special consideration on the energy consumption when designing and implementing an application. In this paper, we propose that the energy consumed by a unit of code can be approximated by the execution time. Using software benchmarks run with different data loads, we measured the execution time required to complete the job, and using a software tool to measure the energy spent during the execution of the benchmark, with the objective of finding a relationship among them. We observed that, regardless of the software benchmark, the data load injected and the programming language, of implementation the ratio between the execution time and the energy consumption remains consistent, opening the opportunity to develop techniques to approximate the energy consumption of mobile software based on execution time measurements.
- Cargill, D., Radaideh, M. A Practitioner Report on the Evaluation of the Performance of the C, C++ and Java Compilers on the OS/290 Platform. IEEE, pp. 40 – 45. 2000. Google ScholarDigital Library
- Peters, S., Färber, G. Making Worst Case Execution Time Analysis for Hard Real-Time Tasks on State of the Art Processors Feasible. Proceedings of the Sixth International Conference on Real-Time Computing Systems and Applications, 1999. RTCSA '99. pp. 442 – 449. 1999. Google ScholarDigital Library
- Corral, L., Georgiev, A. B., Sillitti, A., Succi, G. A Method for Characterizing Energy Consumption in Android Smartphones. Proceedings of the 2nd International Workshop on Green and Sustainable Software (GREENS 2013), in connection with ICSE 2013. pp. 38-45, 2013.Google Scholar
- Jung, H.W, Kim, S.G., Chung, C.S. Measuring Software Quality: A Survey of ISO/IEC 9126. IEEE Software, Septem-ber/October 2004. pp. 88 – 92. 2004. Google ScholarDigital Library
- Corsaro, A., Schmidt, D. Evaluating Real-Time Java Features and Performance for Real-time Embedded Systems. Proceedings of the Eighth IEEE Real-Time and Embedded Technology and Applications Symposium. pp. 90 – 100. 2002. Google ScholarDigital Library
- Sharp, D., Pla, E., Luecke, K., Hassan, R. Evaluating Real-Time Java for Mission-Critical Large-Scale Embedded Systems. Proceedings of the 9th IEEE Real-Time and Embedded Technology and Applications Symposium. pp. 30 – 36. 2003. Google ScholarDigital Library
- Binder, W., Hulaas, J., Moret, P. A Quantitative Evaluation of the Contribution of Native Code to Java Workloads. Proceedings of the 2006 IEEE International Symposium on Workload Characterization, pp. 201 – 209. 2006.Google ScholarCross Ref
- Corral L., Sillitti A., Succi G., “Mobile multiplatform development: An experiment for performance analysis”, 9th International Conference on Mobile Web Information Systems (MobiWIS 2012), Niagara Falls, ON, Canada, 27 - 29 August 2012.Google ScholarCross Ref
- Corral L., Sillitti A., Succi G., “Agile Software Development Processes for Mobile Systems: Accomplishment, Evidence and Evolution”, 10th International Conference on Mobile Web Information Systems (MobiWIS 2013), Paphos, Cyprus, 26 - 28 August 2013.Google ScholarDigital Library
- Corral L., Sillitti A., Succi G., “Using a Partially Instantiated GQM to Measure the Quality of Mobile Apps”, 25rd International Conference on Software Engineering and Knowledge Engineering (SEKE 2013), Boston, MA, USA, 27 - 29 June 2013.Google Scholar
- Corral L., Sillitti A., Succi G., “Software Development Processes for Mobile Systems: Is Agile Really Taking Over the Business?”, 1st International Workshop on Mobile-Enabled Systems (MOBS 2013) at ICSE 2013, San Francisco, CA, USA, 25 May 2013.Google ScholarCross Ref
- Batyuk, L, Schmidt, A, Schmidt, H, Camtepe, A, Albayrak, S. Developing and Benchmarking Native Linux Applications on Android. Proceedings of the 2nd International Conference on Mobile Wireless Middleware, Operating Systems, and Applications. pp. 381 – 390. 2009.Google Scholar
- Lee, S., Jeon, J. W. Evaluating Performance of Android Platform Using Native C for Embedded Systems. Proceedings of the International Conference on Control, Automation and Systems 2010. pp. 1160 – 1163. 2010Google Scholar
- Kundu, T.K., Kolin, P. Android on Mobile Devices: An Ener-gy Perspective. Proceedings of the 2010 10th IEEE Interna-tional Conference on Computer and Information Technology. pp. 2421 – 2426. 2010. Google ScholarDigital Library
- Vieira, A.; Debastiani, D.; Agostini, L.; Marques, F.; Mattos, J.C.B., "Performance and Energy Consumption Analysis of Embedded Applications Based on Android Platform," 2012 Brazilian Symposium on Computing System Engineering pp.59,64, 5-7 Nov. 2012. Google ScholarDigital Library
- Capra, E.; Francalanci, C.; Slaughter, S.A., "Measuring Application Software Energy Efficiency," IT Professional, vol.14, no.2, pp.54,61, March-April 2012 Google ScholarDigital Library
- Vallina-Rodriguez, N.; Crowcroft, J., "Energy Management Techniques in Modern Mobile Handsets," Communications Surveys & Tutorials, IEEE, vol.15, no.1, pp.179,198, First Quarter 2013Google ScholarCross Ref
- Zhang, L., Tiwana, B., Qian, Z., and Wang, Z.; Accurate online power estimation and automatic battery behavior based power model generation for smartphones. 8th Intl. Conf. on HW/SW Codesign and System Synthesis, pp. 105- 114. 2010. Google ScholarDigital Library
- Corral L., Sillitti A., Succi G., Strumpflohner J., Vlasenko J., “DroidSense: A Mobile Tool to Analyze Software Development Processes by Measuring Team Proximity”, 50th International Conference on Objects, Models, Components, Patterns (TOOLS Europe 2012), Prague, Czech Republic, 29 - 31 May 2012. Google ScholarDigital Library
- Pathak, A., Hu, Y., Zhang, M.; Where is the energy spent inside my app? Fine grained energy accounting on smartphones with Eprof. 7th ACM European Conference on Computer Systems EuroSys '12, pp. 29-42. 2012. Google ScholarDigital Library
- Wonwoo, J., Chulko, K., Chanmin, Y., Donwon, K., Hojung, C.; DevScope: a nonintrusive and online power analysis tool for smartphone hardware components. 8th Intl. Conf. on HW/SW Codesign and System Synthesis, pp. 353-362. 2012. Google ScholarDigital Library
- Yoon, C., Kim, D., Jung, W., Kang, C. and Cha, H.; AppScope: application energy metering framework for Android smartphone using kernel activity monitoring. In USENIX Annual Technical Conference. 2012. Google ScholarDigital Library
- Frisani, A. La Valutazione del Calcolatori. Lecture notes of seminar “Ingegneria delle piattaforme informatiche”. Università degli Studi di Genova – Faculty of Engineering, Italy, 2011.Google Scholar
- Corral, L, Georgiev, A.,B., Sillitti, A., Succi, G., Method Reallocation to Reduce Energy Consumption: An Implementation in Android OS. Proceedings of the 29th Symposium On Applied Computing, 2014.Google Scholar
- Oracle Java SE Documentation. Class System. Retrieved March 9th, 2011, from http://download.oracle.com/javase/1.5.0/docs/api/java/lang/S ystem.html © Oracle. 2010.Google Scholar
- Skyes A.O. An introduction to regression analysis. In Chicago Lectures in Law and Economics. Eric A. Posner (Ed). University of Chicago. 2000.Google Scholar
Index Terms
- Can execution time describe accurately the energy consumption of mobile apps? an experiment in Android
Recommendations
Method reallocation to reduce energy consumption: an implementation in Android OS
SAC '14: Proceedings of the 29th Annual ACM Symposium on Applied ComputingMobile applications have become ubiquitous, adopted by millions of users that register billions of downloads a day. To increase the competitiveness of the mobile software product, developers should care in a very detailed fashion about the qualities ...
Reducing Energy Consumption of Alarm-induced Wake-ups on Android Smartphones
HotMobile '15: Proceedings of the 16th International Workshop on Mobile Computing Systems and ApplicationsAlarms are often used to set smartphones to perform tasks at scheduled times. Many applications use alarm functionality, and devices consequently experience frequent wake-ups and waste energy. In this paper, we analyze alarm-induced wake-ups in the ...
Improving energy consumption in Android apps
ESEC/FSE 2015: Proceedings of the 2015 10th Joint Meeting on Foundations of Software EngineeringMobile applications sometimes exhibit behaviors that can be attributed to energy bugs depending on developer implementation decisions. In other words, certain design decisions that are technically “correct” might affect the energy performance of ...
Comments