core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java
public void stopFullCheckpointTimer() {
    final long endTs = nanoTimer.getNano();
    final long timeDiff = (endTs - timeStamps.pop());

    if (storageCountersHolder == null)
      storageCountersHolder = new StorageCountersHolder();

    storageCountersHolder.fullCheckpointOperationsCount++;
    storageCountersHolder.fullCheckpointOperationsTime += timeDiff;

    makeSnapshotIfNeeded(endTs);
  }
public void stopFullCheckpointTimer() {
    final long endTs = nanoTimer.getNano();
    final long timeDiff = (endTs - timeStamps.pop());

    if (storageCountersHolder == null)
      storageCountersHolder = new StorageCountersHolder();

    storageCountersHolder.fullCheckpointOperationsCount++;
    storageCountersHolder.fullCheckpointOperationsTime += timeDiff;

    makeSnapshotIfNeeded(endTs);
  }
public void stopFullCheckpointTimer ( ) { final long endTs = nanoTimer . getNano ( ) ; final long timeDiff = ( endTs - timeStamps . pop ( ) ) ; if ( storageCountersHolder == null ) storageCountersHolder = new StorageCountersHolder ( ) ; storageCountersHolder . fullCheckpointOperationsCount ++ ; storageCountersHolder . fullCheckpointOperationsTime += timeDiff ; makeSnapshotIfNeeded ( endTs ) ; }
Stops and records results of timer which counts how much time was spent on full checkpoint operation.
Stops and records results of timer which counts how much time was spent on full checkpoint operation .