Ignore:
Timestamp:
06/26/14 14:18:01 (11 years ago)
Author:
wojtekp
Message:
 
Location:
DCWoRMS/branches/coolemall/src/example/load
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/example/load/DefaultLoadEstimationPlugin.java

    r1290 r1396  
    55import schedframe.resources.devices.PhysicalResource; 
    66import schedframe.scheduling.manager.tasks.JobRegistry; 
    7 import simulator.stats.GSSAccumulator; 
     7import simulator.stats.DCwormsAccumulator; 
    88 
    99 
     
    1313 
    1414                ComputingResource computingResource = (ComputingResource) resource; 
    15                 GSSAccumulator childrenLoad = new GSSAccumulator(); 
     15                DCwormsAccumulator childrenLoad = new DCwormsAccumulator(); 
    1616                for(ComputingResource compRes: computingResource.getChildren()){ 
    1717                        childrenLoad.add(compRes.getLoadInterface().getRecentUtilization().getValue()); 
  • DCWoRMS/branches/coolemall/src/example/load/ProcessorLoadEstimationPlugin.java

    r1299 r1396  
    2626                        double cpuUsage = 1 / nrOfThreadsOnCpu; 
    2727 
    28                         for(PhaseBehaviour pb: task.getCurrentResourceConsumption().getBehaviourList()){ 
     28                        for(PhaseBehaviour pb: task.getExecutionProfile().getCurrentResourceConsumption().getBehaviourList()){ 
    2929                                if(pb.getResouceName().equals("PM_CPU_Usage")){ 
    3030                                        cpuUsage = pb.getUtilization(); 
Note: See TracChangeset for help on using the changeset viewer.