arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1411.2047cs.PFcs.SE
收藏

代码变化集n-gram与能耗变化关系的研究

Investigation of the relationship between code change set n-grams and change in energy consumption

Stephen Romansky

摘要:

随着消费者和行业购买更多的电池供电设备,移动设备上运行的软件数量不断增长。另一方面,为开发人员提供关于其软件更改如何影响电池寿命的反馈的工具并不广泛可用。这项工作采用绿色挖掘,能源消耗和软件变更集之间的关系的研究,和n-gram语言模型,以评估源代码变更的复杂性是否与能源消耗的变化相关。困惑和能量消耗的变化之间的相关性将允许开发预测代码变化可能对软件应用能量消耗的影响的工具。案例研究结果表明,交叉熵与能耗变化之间的相关性很弱或没有相关性。因此,提出了今后的研究领域。

英文摘要:

The amount of software running on mobile devices is constantly growing as consumers and industry purchase more battery powered devices. On the other hand, tools that provide developers with feed- back on how their software changes affect battery life are not widely available. This work employs Green Mining, the study of the rela- tionship between energy consumption and software changesets, and n-gram language models to evaluate if source code changeset perplex- ity correlates with change in energy consumption. A correlation be- tween perplexity and change in energy consumption would permit the development of a tool that predicts the impact a code changeset may have on a software applications energy consumption. The case study results show that there is weak to no correlation between cross en- tropy and change in energy consumption. Therefore, future areas of investigation are proposed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑