Projects per year
Abstract
The static estimation of the energy consumed by program executions is an important challenge, which has applications in program optimization and verification, and is instrumental in energy-aware software development. Our objective is to estimate such energy consumption in the form of functions on the input data sizes of programs. We have developed a tool for experimentation with static analysis which infers such energy functions at two levels, the instruction set architecture (ISA) and the intermediate code (LLVM IR) levels, and reflects it upwards to the higher source code level. This required the development of a translation from LLVM IR to an intermediate representation and its integration with existing components, a translation from ISA to the same representation, a resource analyzer, an ISA-level energy model, and a mapping from this model to LLVM IR. The approach has been applied to programs written in the XC language running on XCore architectures, but is general enough to be applied to other languages. Experimental results show that our LLVM IR level analysis is reasonably accurate (less than 6.4% average error vs. hardware measurements) and more powerful than analysis at the ISA level. This paper provides insights into the trade-off of precision versus analyzability at these levels.
Original language | English |
---|---|
Title of host publication | Foundational and Practical Aspects of Resource Analysis : 4th International Workshop, FOPARA 2015 |
Editors | Marco C.J.D. van Eekelen, Ugo Dal Lago |
Number of pages | 20 |
Place of Publication | Switzerland |
Publisher | Springer |
Publication date | 2016 |
Pages | 81-100 |
ISBN (Print) | 978-3-319-46558-6 |
ISBN (Electronic) | 978-3-319-46559-3 |
DOIs | |
Publication status | Published - 2016 |
Event | 4th International Workshop on Foundational and Practical Aspects of Resource Analysis: FOPARA 2015 - London, United Kingdom Duration: 11 Apr 2015 → 11 Apr 2015 |
Workshop
Workshop | 4th International Workshop on Foundational and Practical Aspects of Resource Analysis |
---|---|
Country/Territory | United Kingdom |
City | London |
Period | 11/04/2015 → 11/04/2015 |
Series | Lecture Notes in Computer Science |
---|---|
Volume | 9964 |
ISSN | 0302-9743 |
Keywords
- Energy savings
- Static analysis
Projects
- 1 Finished
-
ENTRA: Whole-Systems Energy Transparency
Gallagher, J. P., Rosendahl, M., Rhiger, M., Strand, D. L. & Bohr, N.
01/10/2012 → 30/09/2015
Project: Research