In the continually evolving realm of software engineering, the need to address software energy consumption has gained increasing prominence. However, the absence of a platform-independent tool that facilitates straightforward energy measurements remains a notable gap. This paper presents EnergiBridge, a cross-platform measurement utility that provides support for Linux, Windows, and MacOS, as well as Intel, AMD, and Apple ARM CPU architectures. In essence, EnergiBridge serves as a bridge between energy-conscious software engineering and the diverse software environments in which it operates. It encourages a broader community to make informed decisions, minimize energy consumption, and reduce the environmental impact of software systems. By simplifying software energy measurements, EnergiBridge offers a valuable resource to make green software development more lightweight, education more inclusive, and research more reproducible. Through the evaluation, we highlight EnergiBridge's ability to gather energy data across diverse platforms and hardware configurations. EnergiBridge is publicly available on GitHub: https://github.com/tdurieux/EnergiBridge, and a demonstration video can be viewed at: https://youtu.be/-gPJurKFraE.
翻译:在持续演进的软件工程领域中,解决软件能耗问题的需求日益凸显。然而,缺乏支持简易能耗测量的平台无关工具仍是显著空白。本文提出EnergiBridge,一款支持Linux、Windows和MacOS操作系统,以及Intel、AMD和Apple ARM CPU架构的跨平台测量工具。本质上,EnergiBridge为关注能耗的软件工程与其运行的多样化软件环境之间架起桥梁,鼓励更广泛的社区做出明智决策、最小化能耗并降低软件系统的环境影响。通过简化软件能耗测量,EnergiBridge为更轻量化的绿色软件开发、更包容的软件教育与更具可复现性的研究提供了宝贵资源。通过评估,我们突出了EnergiBridge在多种平台和硬件配置下收集能耗数据的能力。EnergiBridge已在GitHub上公开:https://github.com/tdurieux/EnergiBridge,演示视频可于https://youtu.be/-gPJurKFraE查看。