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

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


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
ISBN (Electronic)978-1-4503-4750-1
Publication statusPublished - 2016
Event13th International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services - Hiroshima, Japan
Duration: 28 Nov 20161 Dec 2016


Conference13th International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services
Internet address


  • Energy efficiency
  • Energy modelling

Cite this