CPPJoules:一个用于C++的能量测量工具
CPPJoules: An Energy Measurement Tool for C++
AI总结:
针对C++缺乏专门能耗测量工具的问题,开发了基于Intel-RAPL的CPPJoules工具,用于测量C++代码片段能耗,并通过Rosetta Code任务进行了评估。
摘要:
随着现代软件复杂性的增加和对高性能的需求,能耗已成为开发者和研究人员的关键因素。虽然研究界的大部分精力集中在评估机器学习和人工智能系统的能耗上——这些系统通常用Python实现——但在测量其他编程语言能耗的工具和框架方面存在空白。特别是,C++仍然是各种软件应用(从游戏开发到并行编程框架)的基础语言,但缺乏专门的能耗测量解决方案。为了解决这个问题,我们开发了CPPJoules,这是一个基于Intel-RAPL构建的工具,用于测量C++代码片段的能耗。我们通过测量Rosetta Code仓库中的标准计算任务的能耗来评估该工具。该工具的演示可在https://www.youtube.com/watch?v=GZXYF3AKzPk获取,相关工件可在https://rishalab.github.io/CPPJoules/获取。
英文摘要:
With the increasing complexity of modern software and the demand for high performance, energy consumption has become a critical factor for developers and researchers. While much of the research community is focused on evaluating the energy consumption of machine learning and artificial intelligence systems -- often implemented in Python -- there is a gap when it comes to tools and frameworks for measuring energy usage in other programming languages. C++, in particular, remains a foundational language for a wide range of software applications, from game development to parallel programming frameworks, yet lacks dedicated energy measurement solutions. To address this, we have developed CPPJoules, a tool built on top of Intel-RAPL to measure the energy consumption of C++ code snippets. We have evaluated the tool by measuring the energy consumption of the standard computational tasks from the Rosetta Code repository. The demonstration of the tool is available at \url{https://www.youtube.com/watch?v=GZXYF3AKzPk} and related artifacts at \url{https://rishalab.github.io/CPPJoules/}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。