Ignore:
Timestamp:
06/26/14 14:18:01 (11 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/simulator/stats/AbstractMetricsCalculator.java

    r1299 r1396  
    1313        protected static final double SEC_IN_HOUR = 3600; 
    1414         
    15         protected Map<String, List<GSSAccumulator>> metricsData = new HashMap<String, List<GSSAccumulator>>(); 
     15        protected Map<String, List<DCwormsAccumulator>> metricsData = new HashMap<String, List<DCwormsAccumulator>>(); 
    1616 
    1717        protected long startTime; 
     
    2828        abstract public List<MetricsStats> calulateMetrics(); 
    2929         
    30         public void addMetricsData(String resourceTypeName, GSSAccumulator resourceEnergyAccumulator){ 
    31                 List<GSSAccumulator> resourceEnergyAccumulatorList = metricsData.get(resourceTypeName); 
     30        public void addMetricsData(String resourceTypeName, DCwormsAccumulator resourceEnergyAccumulator){ 
     31                List<DCwormsAccumulator> resourceEnergyAccumulatorList = metricsData.get(resourceTypeName); 
    3232                if(resourceEnergyAccumulatorList == null){ 
    33                         resourceEnergyAccumulatorList = new ArrayList<GSSAccumulator>(); 
     33                        resourceEnergyAccumulatorList = new ArrayList<DCwormsAccumulator>(); 
    3434                } 
    3535                resourceEnergyAccumulatorList.add(resourceEnergyAccumulator); 
     
    3737        } 
    3838         
    39         public Map<String, List<GSSAccumulator>> getMetricsData(){ 
     39        public Map<String, List<DCwormsAccumulator>> getMetricsData(){ 
    4040                return metricsData; 
    4141        } 
Note: See TracChangeset for help on using the changeset viewer.