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

5 Citations (Scopus)

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
Title of host publicationSPLC 2017 - 21st International Systems and Software Product Line Conference, Proceedings
PublisherAssociation for Computing Machinery
Pages84-93
Number of pages10
Volume1
ISBN (Electronic)978-1-4503-5221-5
DOIs
Publication statusPublished - 25 Sep 2017
Event21st International Systems and Software Product Line Conference, SPLC 2017 - Sevilla, Spain
Duration: 25 Sep 201729 Sep 2017

Conference

Conference21st International Systems and Software Product Line Conference, SPLC 2017
CountrySpain
CitySevilla
Period25/09/1729/09/17

Keywords

  • Software and its engineering
  • Automated static analysis
  • Software performance
  • Software product lines

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

    Couto, M., Borba, P., Cunha, J., Fernandes, J. P., Pereira, R., & Saraiva, J. (2017). Products go green: Worst-case energy consumption in so-ware product lines. In SPLC 2017 - 21st International Systems and Software Product Line Conference, Proceedings (Vol. 1, pp. 84-93). Association for Computing Machinery. https://doi.org/10.1145/3106195.3106214