Soundness proof for a hoare logic for energy consumption analysis

Paolo Parisen Toldin, Rody Kersten, Bernard van Gastel, M.C.J.D. van Eekelen · Radboud Repository (Radboud University) · 2013

Abstract. Energy inefficient software implementations may cause battery drain for small systems and high energy costs for large systems. Dynamic energy analysis is often applied to mitigate these issues. However, this is often hardware-specific and requires repetitive measurements using special equipment. We present a static analysis deriving upper-bounds for energy consumption based on an introduced energy-aware Hoare logic. Software is considered together with models of the hardware it controls. The Hoare logic is parametric with respect to the hardware. Energy models of hardware components can be specified separately from the logic. Parametrised with one or more of such component models, the analysis can statically produce a sound (over-approximated) upper-bound for the energy-usage of the hardware controlled by the software. 1

Read the paper · More papers on PaperTik