- Timestamp:
- 10/31/12 15:19:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/src/simulator/stats/implementation/DCWormsStatistics.java
r521 r544 334 334 if(resourceController.getComputingResources().contains(resource)) { 335 335 if( een != null && een.getPowerProfile() != null && een.getPowerProfile().getEnergyEstimationPlugin() != null){ 336 accStats.meanEnergyUsage.add(energyUsage.get MeanValue());336 accStats.meanEnergyUsage.add(energyUsage.getSumValue()); 337 337 } 338 338 … … 349 349 } 350 350 if(top == true){ 351 accStats.meanEnergyUsage.add(energyUsage.get MeanValue());351 accStats.meanEnergyUsage.add(energyUsage.getSumValue()); 352 352 } 353 353 } … … 372 372 if(resourceController.getComputingResources().contains(resource)) { 373 373 if( een != null /*&& een.getPp() != null*/ ){ 374 accStats.meanAirFlow.add(airFlow. meanValue);374 accStats.meanAirFlow.add(airFlow.getSumValue()); 375 375 } 376 376 … … 387 387 } 388 388 if(top == true){ 389 accStats.meanAirFlow.add(airFlow. meanValue);389 accStats.meanAirFlow.add(airFlow.getSumValue()); 390 390 } 391 391 } … … 1315 1315 return statsData.get(name); 1316 1316 } 1317 1318 private void createStatsData() {1319 statsData.put(MAKESPAN, accStats.makespan);1320 statsData.put(TASK_COMPLETION_TIME, accStats.meanTaskCompletionTime);1321 statsData.put(TASK_EXECUTION_TIME, accStats.meanTaskExecutionTime);1322 statsData.put(TASK_START_TIME, accStats.meanTaskStartTime);1323 statsData.put(TASK_FLOW_TIME, accStats.meanTaskFlowTime);1324 statsData.put(TASK_WAITING_TIME, accStats.meanTaskWaitingTime);1325 statsData.put(TASK_LATENESS, accStats.lateness);1326 statsData.put(TASK_TARDINESS, accStats.tardiness);1327 statsData.put(DELAYED_TASKS, accStats.delayedTasks);1328 statsData.put(FAILED_REQUESTS, accStats.failedRequests);1329 statsData.put(RESOURCES_TOTAL_LOAD, accStats.meanTotalLoad);1330 statsData.put(RESOURCES_RESERVATION_LOAD, accStats.meanReservationLoad);1331 statsData.put(RESOURCES_RESERVATION_LOAD, accStats.meanEnergyUsage);1332 statsData.put(RESOURCES_QUEUE_LENGTH, accStats.meanQueueLength);1333 }1334 1335 1317 1336 1318 public boolean accumulatedStats() {
Note: See TracChangeset
for help on using the changeset viewer.