Changeset 1583 for DCWoRMS/branches/coolemall/src/experiments/simpat2014/models/article/NodeEnergyEstimationPlugin.java
- Timestamp:
- 02/04/16 14:19:12 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/experiments/simpat2014/models/article/NodeEnergyEstimationPlugin.java
r1500 r1583 29 29 30 30 private static double Pidle = 6; 31 private static double Pfull = 16;31 private static double Pfull = 20; 32 32 33 33 … … 89 89 for(Device device: node.getParent().getResourceCharacteristic().getDevices()){ 90 90 if(device.getType().equals(StandardResourceType.Fan)){ 91 if(Integer.valueOf(device.getName().split("_")[1]) == Integer.valueOf(node.getName().split("_")[1]) || Integer.valueOf(device.getName().split("_")[1]) == Integer.valueOf(cpu.getParent().getName().split("_")[1]) - EnvironmentConditions.NODES_IN_A_ROW){91 if(Integer.valueOf(device.getName().split("_")[1]).intValue() == Integer.valueOf(node.getName().split("_")[1]).intValue() || Integer.valueOf(device.getName().split("_")[1]).intValue() == Integer.valueOf(cpu.getParent().getName().split("_")[1]).intValue() - EnvironmentConditions.NODES_IN_A_ROW){ 92 92 Fan fan = (Fan) device; 93 93 V = fan.getAirflowInterface().getRecentAirflow().getValue();
Note: See TracChangeset
for help on using the changeset viewer.