29613

CPPJoules: An Energy Measurement Tool for C++

Shivadharshan S, Akilesh P, Rajrupa Chattaraj, Sridhar Chimalakonda
Research in Intelligent Software and Human Analytics (RISHA) Lab, Department of Computer Science and Engineering, Indian Institute of Technology Tirupati, India
arXiv:2412.13555 [cs.SE], (18 Dec 2024)

@misc{s2024cppjoulesenergymeasurementtool,

   title={CPPJoules: An Energy Measurement Tool for C++},

   author={Shivadharshan S and Akilesh P and Rajrupa Chattaraj and Sridhar Chimalakonda},

   year={2024},

   eprint={2412.13555},

   archivePrefix={arXiv},

   primaryClass={cs.SE},

   url={https://arxiv.org/abs/2412.13555}

}

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 with related artifacts.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: