Products go green:Worst-case energy consumption in so-ware product lines

Marco Couto, Paulo Borba, Jácome Cunha, João Paulo Fernandes, Rui Pereira, João Saraiva

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

The optimization of software to be (more) energy efficient is becoming a major concern for the software industry. Although several techniques have been presented to measure energy consumption for software, none has addressed software product lines (SPLs). Thus, to measure energy consumption of a SPL, the products must be generated and measured individually, which is too costly. In this paper, we present a technique and a prototype tool to statically estimate the worst case energy consumption for SPL. The goal is to provide developers with techniques and tools to reason about the energy consumption of all products in a SPL, without having to produce, run and measure the energy in all of them. Our technique combines static program analysis techniques and worst case execution time prediction with energy consumption analysis. This technique analyzes all products in a feature-sensitive manner, that is, a feature used in several products is analyzed only once, while the energy consumption is estimated once per product. We implemented our technique in a tool called Serapis. We did a preliminary evaluation using a product line for image processing implemented in C. Our experiments considered 7 products from such line and our initial results show that the tool was able to estimate the worst-case energy consumption with a mean error percentage of 9.4% and standard deviation of 6.2% when compared with the energy measured when running the products.

Original languageEnglish (US)
Title of host publicationSPLC 2017 - 21st International Systems and Software Product Line Conference, Proceedings
EditorsLidia Fuentes, Ebrahim Bagheri, Antonio Ruiz-Cortes, David Benavides, Rafael Capilla, Yingfei Xiong, Jan Bosch, Mathieu Acher, Daniel Schall, Myra Cohen, Javier Troya
PublisherAssociation for Computing Machinery
Pages84-93
Number of pages10
ISBN (Electronic)9781450352215
DOIs
StatePublished - Sep 25 2017
Event21st International Systems and Software Product Line Conference, SPLC 2017 - Sevilla, Spain
Duration: Sep 25 2017Sep 29 2017

Publication series

NameACM International Conference Proceeding Series
Volume1

Conference

Conference21st International Systems and Software Product Line Conference, SPLC 2017
Country/TerritorySpain
CitySevilla
Period9/25/179/29/17

ASJC Scopus subject areas

  • Software
  • Human-Computer Interaction
  • Computer Vision and Pattern Recognition
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Products go green:Worst-case energy consumption in so-ware product lines'. Together they form a unique fingerprint.

Cite this