public void endInvalidate(long start) {
    if (clock.isEnabled()) {
      stats.incLong(invalidateTimeId, clock.getTime() - start);
    }
    stats.incLong(invalidatesCompletedId, 1);
  }
This method sets the end time for putAll and updates the counters
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionStats.java