Changeset 1583 for DCWoRMS/branches/coolemall/src/experiments/simpat2014/models/article/NodeGroupEnergyEstimationPlugin.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/NodeGroupEnergyEstimationPlugin.java
r1500 r1583 21 21 try{ 22 22 powerConsumption = powerConsumption + node.getPowerInterface().getRecentPowerUsage().getValue(); 23 powerConsumption = powerConsumption + node.getProcessors().get(0).getResourceCharacteristic().getDevices().get(0).getPowerInterface().getRecentPowerUsage().getValue(); 23 24 24 25 } catch (Exception e){ 25 26 } 26 27 } 27 28 28 for(Device device: nodeGroup.getResourceCharacteristic().getDevices()){ 29 29 if(device.getType().equals(StandardResourceType.Fan)){
Note: See TracChangeset
for help on using the changeset viewer.