package schedframe.resources.computing.profiles.energy.power; import java.util.HashMap; import java.util.List; import java.util.Map; import schedframe.resources.computing.profiles.energy.power.plugin.EnergyEstimationPlugin; public class ProcessorPowerProfile extends PowerProfile{ protected Map supportedPStates; public ProcessorPowerProfile(EnergyEstimationPlugin energyEstimationPlugin, List supportedPowerStates, List pStates){ super(energyEstimationPlugin, supportedPowerStates); supportedPStates = new HashMap(); for(PState pState: pStates){ supportedPStates.put(pState.getName(), pState); } } public Map getSupportedPStates() { return supportedPStates; } }