CPPJoules: An Energy Measurement Tool for C++

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: S, Shivadharshan, P, Akilesh, Chattaraj, Rajrupa, Chimalakonda, Sridhar
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909432382750720
author S, Shivadharshan
P, Akilesh
Chattaraj, Rajrupa
Chimalakonda, Sridhar
author_facet S, Shivadharshan
P, Akilesh
Chattaraj, Rajrupa
Chimalakonda, Sridhar
contents 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/}.
format Preprint
id arxiv_https___arxiv_org_abs_2412_13555
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CPPJoules: An Energy Measurement Tool for C++
S, Shivadharshan
P, Akilesh
Chattaraj, Rajrupa
Chimalakonda, Sridhar
Software Engineering
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/}.
title CPPJoules: An Energy Measurement Tool for C++
topic Software Engineering
url https://arxiv.org/abs/2412.13555