From PAPI Component Repository
Jump to: navigation, search
Author(s) PAPI team
Version PAPI current
Last modified 2011/11/07
Author support Yes
Component overview Access hardware sensors through the coretemp sysf interface
Source Code



The CoreTemp component is one of several components bundled with PAPI. It accesses hardware monitoring sensors through the coretemp sysfs interface. This is an Intel only feature that works by reading the IA32_THERM_STATUS msr (abstracted by the coretemp kernel module ). This component will dynamically create a native events table for all the sensors that can be found under /sys/class/hwmon/hwmon[0-9]+. Temperatures are reported in millidegrees Celsius. It is distributed with the PAPI tarball, or can be downloaded independently using the provided link.


Use the "Download tarball" link on the provided page to download a tarball of the source code folder to your computer. Untar the folder and place it in the components directory of your PAPI source tree. Configure using "--with-component=coretemp". Rebuild PAPI.


Use as directed.

Supported Platforms

Most Linux systems. ( Requires coretemp module to be loaded )