Changeset 1415 for DCWoRMS/branches/coolemall/src/simulator/stats
- Timestamp:
- 07/15/14 16:26:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/simulator/stats/DCwormsMetricsCalculator.java
r1396 r1415 14 14 public List<MetricsStats> calulateMetrics(){ 15 15 List<MetricsStats> metrics = new ArrayList<MetricsStats>(); 16 /*for(String resourceTypeName: metricsData.keySet()){ 17 MetricsStats metric = new MetricsStats(resourceTypeName, "energyUsage", metricsData.get(resourceTypeName).getMax()); 18 metrics.add(metric);} 19 }*/ 16 17 /* 20 18 metrics.add(calculateITComputingEnergyConsumption()); 21 19 metrics.add(calculateITEnergyConsumption()); … … 34 32 metrics.add(calculateUsefulWork()); 35 33 metrics.add(calculateProductivity()); 36 34 */ 35 37 36 return metrics; 38 37 }
Note: See TracChangeset
for help on using the changeset viewer.