Ignore:
Timestamp:
02/04/16 14:19:12 (9 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/experiments/simpat2014/models/article/NodeGroupEnergyEstimationPlugin.java

    r1500 r1583  
    2121                        try{ 
    2222                                powerConsumption = powerConsumption + node.getPowerInterface().getRecentPowerUsage().getValue(); 
     23                                powerConsumption = powerConsumption + node.getProcessors().get(0).getResourceCharacteristic().getDevices().get(0).getPowerInterface().getRecentPowerUsage().getValue(); 
    2324 
    2425                        } catch (Exception e){ 
    2526                        } 
    2627                } 
    27  
    2828                for(Device device: nodeGroup.getResourceCharacteristic().getDevices()){ 
    2929                        if(device.getType().equals(StandardResourceType.Fan)){ 
Note: See TracChangeset for help on using the changeset viewer.