skip to main content
10.1145/2593743.2593748acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Can execution time describe accurately the energy consumption of mobile apps? an experiment in Android

Published:01 June 2014Publication History

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.

References

  1. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  2. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  3. 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 ScholarGoogle Scholar
  4. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  5. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  6. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  7. 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 ScholarGoogle ScholarCross RefCross Ref
  8. 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 ScholarGoogle ScholarCross RefCross Ref
  9. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  10. 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 ScholarGoogle Scholar
  11. 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 ScholarGoogle ScholarCross RefCross Ref
  12. 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 ScholarGoogle Scholar
  13. 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 ScholarGoogle Scholar
  14. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  15. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  16. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  17. 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 ScholarGoogle ScholarCross RefCross Ref
  18. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  19. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  20. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  21. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  22. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  23. 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 ScholarGoogle Scholar
  24. 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 ScholarGoogle Scholar
  25. 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 ScholarGoogle Scholar
  26. Skyes A.O. An introduction to regression analysis. In Chicago Lectures in Law and Economics. Eric A. Posner (Ed). University of Chicago. 2000.Google ScholarGoogle Scholar

Index Terms

  1. Can execution time describe accurately the energy consumption of mobile apps? an experiment in Android

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      GREENS 2014: Proceedings of the 3rd International Workshop on Green and Sustainable Software
      June 2014
      53 pages
      ISBN:9781450328449
      DOI:10.1145/2593743

      Copyright © 2014 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 1 June 2014

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Upcoming Conference

      ICSE 2025

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader