Skip to content

Reimplement Rapl

Bram Veenboer requested to merge update-rapl into master

The following changes to the Rapl power meter are made:

  • Fix negative/NaN values that were sometimes reported
  • Major cleanup of the code, e.g. get rid of the unneeded cpu detection replace C-style code with cleaner C++ equivalents
  • Read all available rapl domains and report them separately in the misc field
  • For consistency between platforms with or without dram domain, the cpu energy consumption now only takes the package domain into account
  • Make rapl numa-aware (optional feature), it only measures the domains for packages that are active

To support the functionality outlined above, some changes to the common code (especially the with respect to the misc field) were made. Consequently, the Jetson power meter code also needed to be updated slightly.

Edited by Bram Veenboer

Merge request reports