Measuring Energy and Power with PAPI

TitleMeasuring Energy and Power with PAPI
Publication TypeConference Proceedings
Year of Publication2012
AuthorsWeaver, V. M., M. Johnson, K. Kasichayanula, J. Ralph, P. Luszczek, D. Terpstra, and S. Moore
Conference NameInternational Workshop on Power-Aware Systems and Architectures
Date Published2012-09
Conference LocationPittsburgh, PA
Keywordspapi
Abstract

Energy and power consumption are becoming critical metrics in the design and usage of high performance systems. We have extended the Performance API (PAPI) analysis library to measure and report energy and power values. These values are reported using the existing PAPI API, allowing code previously instrumented for performance counters to also measure power and energy. Higher level tools that build on PAPI will automatically gain support for power and energy readings when used with the newest version of PAPI. We describe in detail the types of energy and power readings available through PAPI. We support external power meters, as well as values provided internally by recent CPUs and GPUs. Measurements are provided directly to the instrumented process, allowing immediate code analysis in real time. We provide examples showing results that can be obtained with our infrastructure.

DOI10.1109/ICPPW.2012.39
Project Tags: 
External Publication Flag: