core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java
public void stopFuzzyCheckpointTimer() {
    if (writCacheCountersHolder == null)
      writCacheCountersHolder = new WritCacheCountersHolder();

    final long endTs = nanoTimer.getNano();
    final long timeDiff = (endTs - timeStamps.pop());

    writCacheCountersHolder.fuzzyCheckpointCount++;
    writCacheCountersHolder.fuzzyCheckpointTime += timeDiff;

    makeSnapshotIfNeeded(endTs);
  }
public void stopFuzzyCheckpointTimer() {
    if (writCacheCountersHolder == null)
      writCacheCountersHolder = new WritCacheCountersHolder();

    final long endTs = nanoTimer.getNano();
    final long timeDiff = (endTs - timeStamps.pop());

    writCacheCountersHolder.fuzzyCheckpointCount++;
    writCacheCountersHolder.fuzzyCheckpointTime += timeDiff;

    makeSnapshotIfNeeded(endTs);
  }
public void stopFuzzyCheckpointTimer ( ) { if ( writCacheCountersHolder == null ) writCacheCountersHolder = new WritCacheCountersHolder ( ) ; final long endTs = nanoTimer . getNano ( ) ; final long timeDiff = ( endTs - timeStamps . pop ( ) ) ; writCacheCountersHolder . fuzzyCheckpointCount ++ ; writCacheCountersHolder . fuzzyCheckpointTime += timeDiff ; makeSnapshotIfNeeded ( endTs ) ; }
Stops and records results of timer which counts how much time was spent on fuzzy checkpoint operation.
Stops and records results of timer which counts how much time was spent on fuzzy checkpoint operation .