Movatterモバイル変換


[0]ホーム

URL:


NOT PEER-REVIEWED
"PeerJ Preprints" is a venue for early communication or feedback before peer review. Data may be preliminary.

On the impact of sampling frequency on software energy measurements

1Software Cost-effective Change and Evolution Research Lab, Polytechnique Montréal,Montréal,Quebec,Canada
2Department of Computer Science, The University of Texas at Dallas,Richardson,TX,United States of America
3MIST Lab, Polytechnique Montréal,Montréal,Quebec,Canada
4Software Analytics and Technologies Lab, Polytechnique Montréal,Montréal,Quebec,Canada
DOI
10.7287/peerj.preprints.1219v2
Published
Accepted
Subject Areas
Mobile and Ubiquitous Computing,Programming Languages,Software Engineering
Keywords
Performance,Software Energy Consumption,Android
Copyright
©2015Saborido et al.
Licence
This is an open access article distributed under the terms of theCreative Commons Attribution License, which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ PrePrints) and either DOI or URL of the article must be cited.
Cite this article
Saborido R, Arnaoudova VV, Beltrame G, Khomh F, Antoniol G.2015.On the impact of sampling frequency on software energy measurements.PeerJ PrePrints3:e1219v2

Abstract

Energy consumption is a major concern when developing and evolving mobile applications. The user wishes to access fast and powerful mobile applications, which is usually in contrast to optimized battery life and heat generation. The software engineering community have acknowledged the relevance of the problem and researchers are investigating ways to reduce energy consumption, for example by examining which library, device configuration, and applications parameters should be used to promote long battery life. We conjecture that these studies are at the border between hardware and software and we must be careful on how the energy consumption is measured and how the energy consumption is attributed to methods and libraries.To the best of our knowledge, no previous work investigates how much energy and power consumption is due to high frequency events missed when sampling at low frequencies such as 10 kHz and verified the error at the precision of method level. Low frequency sampling is a rough approximation that hinders the understanding of fine grain details: the real picture of energy consumption as well as the root causes are missed. This has profound implications on the choice of methods to evolve or components to replace.In this paper, we propose an approach for accurate measurements of the energy consumption of mobile applications. We apply the proposed approach to assess the energy consumption of 21 mobile, closed source, applications and four open source Android applications.We show that by sampling at 10 kHz one may expect a median error of 8%, however, such error may be as high as 50% for short fast executing methods. Finally, we revisit a previous approach that estimates the energy consumption of methods based on execution time and found that it can miss as much as 84% of the energy, with a median of 30%.

Author Comment

In this new version more experiments have been done, considering closed and open source applications.

Additional Information

Competing Interests

The authors declare that they have no competing interests.

Author Contributions

Rubén Saborido conceived and designed the experiments, performed the experiments, analyzed the data, wrote the paper, prepared figures and/or tables, performed the computation work, reviewed drafts of the paper.

Venera Venera Arnaoudova conceived and designed the experiments, performed the experiments, wrote the paper, prepared figures and/or tables, performed the computation work, reviewed drafts of the paper.

Giovanni Beltrame analyzed the data, contributed reagents/materials/analysis tools, wrote the paper, reviewed drafts of the paper.

Foutse Khomh analyzed the data, contributed reagents/materials/analysis tools, wrote the paper, reviewed drafts of the paper.

Giuliano Antoniol conceived and designed the experiments, analyzed the data, contributed reagents/materials/analysis tools, wrote the paper, prepared figures and/or tables, performed the computation work, reviewed drafts of the paper.

Funding

The authors received no funding for this work.


Add your feedback

Before adding feedback, consider if it can be asked as a question instead, and if so then use the Question tab. Pointing out typos is fine, but authors are encouraged to accept only substantially helpful feedback.

Some Markdown syntax is allowed:_italic_**bold**^superscript^~subscript~%%blockquote%%[link text](link URL)
 
By posting this you agree toPeerJ's commenting policies

Usage since published - updated daily

Top referralsunique visitors

From bookmark or typed URL
946
Google search
138
From PeerJ Content Alert Emails
2

Share this preprint

Metrics

Download article

On the impact of sampling frequency on software energy measurements
Your download will start in a moment...
Close
Subscribe for subject updates
Close
Cancel
4Citations Views Downloads

[8]ページ先頭

©2009-2025 Movatter.jp