Running Average Power Limit (RAPL) is an Intel technology which allows reading
measurements of Core and System power usage a run time with a low
overhead.
RAPL can be used to instrument power usage for individual function
calls, but it is also useful at a lower granularity as a tool for
understanding system power usage.
RAPL can report core device power usage, uncore device power usage
(usually documented as the onboard graphics) and platform power usage
(everything attached to the core such as pcie devices).
RAPL can also report memory power usage.
RAPL can be used to set limits on power usage for the core or platform.
These limits can be used to restrict power consumption and set thermal
limits. Currently using limits is an outstanding item for this driver.