CPPJoules: An Energy Measurement Tool for C++
Not on the map. Why?
Abstract (arXiv)
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 urlhttps://www.youtube.com/watch?v=GZXYF3AKzPk and related artifacts at urlhttps://rishalab.github.io/CPPJoules/.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 18 Dec 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 1.
1 paper.