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
Li, Xueliang ; Gallagher, John Patrick. / Fine-Grained Energy Modeling for the Source Code of a Mobile Application. Proceedings of the 13th International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services. editor / Takahiro Hara ; Hiroshi Shigeno. Association for Computing Machinery, 2016. pp. 180-189
@inproceedings{8d53a4eabcdf4e8296983857380761ea,
title = "Fine-Grained Energy Modeling for the Source Code of a Mobile Application",
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.",
keywords = "Energy efficiency, Energy modelling",
author = "Xueliang Li and Gallagher, {John Patrick}",
year = "2016",
doi = "10.1145/2994374.2994394",
language = "English",
pages = "180--189",
editor = "Takahiro Hara and Hiroshi Shigeno",
booktitle = "Proceedings of the 13th International Conference on Mobile and Ubiquitous Systems",
publisher = "Association for Computing Machinery",

}

Li, X & Gallagher, JP 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. Association for Computing Machinery, pp. 180-189, 13th International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services, Hiroshima, Japan, 28/11/2016. https://doi.org/10.1145/2994374.2994394

Fine-Grained Energy Modeling for the Source Code of a Mobile Application. / Li, Xueliang; Gallagher, John Patrick.

Proceedings of the 13th International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services. ed. / Takahiro Hara; Hiroshi Shigeno. Association for Computing Machinery, 2016. p. 180-189.

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

TY - GEN

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

AU - Li, Xueliang

AU - Gallagher, John Patrick

PY - 2016

Y1 - 2016

N2 - 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.

AB - 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.

KW - Energy efficiency

KW - Energy modelling

U2 - 10.1145/2994374.2994394

DO - 10.1145/2994374.2994394

M3 - Article in proceedings

SP - 180

EP - 189

BT - Proceedings of the 13th International Conference on Mobile and Ubiquitous Systems

A2 - Hara, Takahiro

A2 - Shigeno, Hiroshi

PB - Association for Computing Machinery

ER -

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