project-jcarbon / jcarbon

0 stars 1 forks source link

Powercap Hierarchical Support #19

Open atpoverload opened 2 months ago

atpoverload commented 2 months ago

Some versions of Powercap are implemented with a hierarchical structure where the package and dram are subcomponents instead of package being the main component with a dram subcomponent. We need to figure out how to detect this in https://github.com/project-jcarbon/jcarbon/blob/main/src/jcarbon/src/main/java/jcarbon/cpu/rapl/Powercap.java.