project-jcarbon / jcarbon

1 stars 2 forks source link

Powercap Hierarchical Support #19

Open atpoverload opened 7 months ago

atpoverload commented 7 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.