Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
119 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Inferring Parametric Energy Consumption Functions at Different Software Levels: ISA vs. LLVM IR (1511.01413v1)

Published 4 Nov 2015 in cs.PL

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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Umer Liqat (7 papers)
  2. Kyriakos Georgiou (19 papers)
  3. Steve Kerrison (14 papers)
  4. Pedro Lopez-Garcia (201 papers)
  5. John P. Gallagher (24 papers)
  6. Manuel V. Hermenegildo (33 papers)
  7. Kerstin Eder (70 papers)
Citations (41)

Summary

We haven't generated a summary for this paper yet.