Fine-Grained Energy Modeling for the Source Code of a Mobile Application

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Abstract

The goal of an energy model for source code is to lay a foundation for the application of energy-aware programming techniques. State of the art solutions are based on source-line energy information. In this paper, we present an approach to constructing a fine-grained energy model which is able to provide operation-related information that is more valuable for guiding code-optimization than source-line information. The modeling is enabled by a set of novel and practical techniques such as source-level operation identification, block-varied execution-case design and measurement variability control. Using the model we observed several counter-intuitive effects, e.g., in a common game scenario, control flow operations consume around 38% of the total CPU energy use, while arithmetic operations consume only 6%. Our model is being integrated into a source-level energy-optimization approach, which we briefly describe and the paper includes a case study to illustrate how the model guides energy optimization.
Original languageEnglish
Title of host publicationProceedings of the 13th International Conference on Mobile and Ubiquitous Systems : Computing, Networking and Services
EditorsTakahiro Hara, Hiroshi Shigeno
PublisherAssociation for Computing Machinery
Publication date2016
Pages180-189
ISBN (Electronic)978-1-4503-4750-1
DOIs
Publication statusPublished - 2016
Event13th International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services - Hiroshima, Japan
Duration: 28 Nov 20161 Dec 2016
http://mobiquitous.org/2016/show/home

Conference

Conference13th International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services
CountryJapan
CityHiroshima
Period28/11/201601/12/2016
Internet address

Keywords

  • Energy efficiency
  • Energy modelling

Cite this

Li, X., & Gallagher, J. P. (2016). Fine-Grained Energy Modeling for the Source Code of a Mobile Application. In T. Hara, & H. Shigeno (Eds.), Proceedings of the 13th International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services (pp. 180-189). Association for Computing Machinery. https://doi.org/10.1145/2994374.2994394