@Override
  public void updateMostRecentTime(long elapsed) {
    averageTime += (elapsed - averageTime) / ++count;
  }
SMA measure the overall average execution time of a specific method.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/SimpleMovingAverage.java