- Timestamp:
- 06/26/14 14:18:01 (11 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/simulator/stats/DCwormsAccumulator.java
r477 r1396 4 4 package simulator.stats; 5 5 6 import java.io.PrintStream;7 6 8 7 import simulator.DataCenterWorkloadSimulator; … … 15 14 * 16 15 */ 17 public class GSSAccumulator extends Accumulator {16 public class DCwormsAccumulator extends Accumulator { 18 17 19 public GSSAccumulator() {18 public DCwormsAccumulator() { 20 19 super(); 21 20 } 22 21 23 public GSSAccumulator(Accumulator acc) {22 public DCwormsAccumulator(Accumulator acc) { 24 23 n_ = acc.getCount(); 25 24 mean_ = acc.getMean(); … … 49 48 50 49 public boolean equals(Object obj) { 51 if (!(obj instanceof GSSAccumulator))50 if (!(obj instanceof DCwormsAccumulator)) 52 51 return false; 53 52 54 GSSAccumulator otherAcc = (GSSAccumulator) obj;53 DCwormsAccumulator otherAcc = (DCwormsAccumulator) obj; 55 54 if (Double.compare(this.last_, otherAcc.last_) != 0) 56 55 return false;
Note: See TracChangeset
for help on using the changeset viewer.