public void endCompression(long startTime, long startSize, long endSize) {
    if (clock.isEnabled()) {
      stats.incLong(compressionCompressTimeId, getTime() - startTime);
    }
    stats.incLong(compressionPreCompressedBytesId, startSize);
    stats.incLong(compressionPostCompressedBytesId, endSize);
  }
Returns the Statistics instance that stores the cache perf stats.

@since GemFire 3.5
geode-core/src/main/java/org/apache/geode/internal/cache/CachePerfStats.java