Changeset 1441 for DCWoRMS/branches/coolemall/src/test/freqscaling
- Timestamp:
- 09/18/14 17:38:42 (11 years ago)
- Location:
- DCWoRMS/branches/coolemall/src/test/freqscaling
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/test/freqscaling/CB1PowerCappingEnergyEstimationPlugin.java
r1420 r1441 52 52 //System.out.println(CB2_FCFS_Random_SP.mode); 53 53 if(powerConsumption > MAX_THRESHOLD){ 54 DataCenterWorkloadSimulator.getEventManager().sendToAllSchedulers(0, DCWormsTags. POWER_LIMIT_EXCEEDED, null);54 DataCenterWorkloadSimulator.getEventManager().sendToAllSchedulers(0, DCWormsTags.RESOURCE_POWER_LIMIT_EXCEEDED, null); 55 55 } 56 56 else if(powerConsumption < MAX_THRESHOLD){ 57 DataCenterWorkloadSimulator.getEventManager().sendToAllSchedulers(0, DCWormsTags. POWER_LIMIT_EXCEEDED, null);57 DataCenterWorkloadSimulator.getEventManager().sendToAllSchedulers(0, DCWormsTags.RESOURCE_POWER_LIMIT_EXCEEDED, null); 58 58 } 59 59 -
DCWoRMS/branches/coolemall/src/test/freqscaling/CB2_FCFS_Random_SP.java
r1420 r1441 86 86 } 87 87 break; 88 case POWER_LIMIT_EXCEEDED:88 case RESOURCE_POWER_LIMIT_EXCEEDED: 89 89 powerCap(resManager); 90 90 break;
Note: See TracChangeset
for help on using the changeset viewer.