Energy Consumption Analysis of Programs based on XMOS ISA-Level Models

Conference Publication ResearchOnline@JCU
Liqat, Umer;Kerrison, Steve;Serrano, Alejandro;Georgiou, Kyriakos;Lopez-Garcia, Pedro;Grech, Nevill;Hermenegildo, Manuel V.;Eder, Kerstin
Abstract

Energy consumption analysis of embedded programs requires the analysis of low-level program representations. This is challenging because the gap between the high-level program structure and the low-level energy models needs to be bridged. Here, we describe techniques for recreating the structure of low-level programs and transforming these into Horn clauses in order to make use of a generic resource analysis framework (CiaoPP). Our analysis, which makes use of an energy model we produce for the underlying hardware, characterises the energy consumption of the program, and returns energy formulae parametrised by the size of the input data. We have performed an initial experimental assessment and obtained encouraging results when comparing the statically inferred formulae to direct energy measurements from the hardware running a set of benchmarks. Static energy estimation has applications in program optimisation and enables more energy-awareness in software development.

Journal

N/A

Publication Name

LOPSTR 2013: 23rd International Symposium: Logic-Based Program Synthesis and Transformation

Volume

8901

ISBN/ISSN

978-3-319-14125-1

Edition

N/A

Issue

N/A

Pages Count

19

Location

Madrid, Spain

Publisher

Springer

Publisher Url

N/A

Publisher Location

Cham, Switzerland

Publish Date

N/A

Url

N/A

Date

N/A

EISSN

N/A

DOI

10.1007/978-3-319-14125-1_5