...
首页> 外文期刊>The Journal of Systems and Software >SPELLing out energy leaks: Aiding developers locate energy inefficient code
【24h】

SPELLing out energy leaks: Aiding developers locate energy inefficient code

机译:消除能量泄漏:帮助开发人员找到低能效代码

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Although hardware is generally seen as the main culprit for a computer's energy usage, software too has a tremendous impact on the energy spent. Unfortunately, there is still not enough support for software developers so they can make their code more energy-aware. This paper proposes a technique to detect energy inefficient fragments in the source code of a software system. Test cases are executed to obtain energy consumption measurements, and a statistical method, based on spectrum-based fault localization, is introduced to relate energy consumption to the source code. The result of our technique is an energy ranking of source code fragments pointing developers to possible energy leaks in their code. This technique was implemented in the SPELL toolkit. Finally, in order to evaluate our technique, we conducted an empirical study where we asked participants to optimize the energy efficiency of a software system using our tool, while also having two other groups using no tool assistance and a profiler, respectively. We showed statistical evidence that developers using our technique were able to improve the energy efficiency by 43% on average, and even out performing a profiler for energy optimization.
机译:尽管通常将硬件视为导致计算机能源消耗的主要原因,但软件也对所消耗的能源产生巨大影响。不幸的是,对于软件开发人员仍然没有足够的支持,因此他们可以使他们的代码更加节能。本文提出了一种在软件系统源代码中检测低能效片段的技术。执行测试用例以获得能耗测量,并引入一种基于基于频谱的故障定位的统计方法,以将能耗与源代码相关联。我们的技术的结果是对源代码片段进行了能量排名,从而使开发人员发现其代码中可能存在能量泄漏。该技术在SPELL工具箱中实现。最后,为了评估我们的技术,我们进行了一项经验研究,要求参与者使用我们的工具优化软件系统的能源效率,同时让另外两个小组分别使用工具协助和探查器。我们显示了统计证据,表明使用我们的技术的开发人员平均可以将能源效率提高43%,甚至可以执行性能优化器进行能源优化。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号