protected long stop(long startTime) {
    return System.nanoTime() - startTime;
  }
Mark end time of an execution, and return its interval.
@param startTime start time of an execution
@return elapsed time
hbase-common/src/main/java/org/apache/hadoop/hbase/util/MovingAverage.java