code: public void inc(final int numOps, final long time) {
      lock.lock();
      try {
        currentData.numOperations += numOps;
        currentData.time += time;
        long timePerOps = time/numOps;
        minMax.update(timePerOps);
      } finally {
        lock.unlock();
      }
    }
docs: Increment the metrics for numOps operations
  @param numOps - number of operations
  @param time - time for numOps operations