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

    performanceCountersHolder.pageReadFromCacheTime += timeDiff;
    performanceCountersHolder.pageReadFromCacheCount++;

    for (Component component : componentsStack) {
      final String componentName = component.name;
      PerformanceCountersHolder cHolder = countersByComponent
          .computeIfAbsent(componentName, k -> component.type.newCountersHolder());

      cHolder.pageReadFromCacheTime += timeDiff;
      cHolder.pageReadFromCacheCount++;
    }

    final Component currentComponent = componentsStack.peek();
    if (currentComponent != null) {
      PerformanceCountersHolder currentHolder = countersByComponent.get(currentComponent.name);

      if (currentHolder.currentOperation != null) {
        currentHolder.currentOperation.incrementOperationsCounter(1, 0);
      }
    }

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

    performanceCountersHolder.pageReadFromCacheTime += timeDiff;
    performanceCountersHolder.pageReadFromCacheCount++;

    for (Component component : componentsStack) {
      final String componentName = component.name;
      PerformanceCountersHolder cHolder = countersByComponent
          .computeIfAbsent(componentName, k -> component.type.newCountersHolder());

      cHolder.pageReadFromCacheTime += timeDiff;
      cHolder.pageReadFromCacheCount++;
    }

    final Component currentComponent = componentsStack.peek();
    if (currentComponent != null) {
      PerformanceCountersHolder currentHolder = countersByComponent.get(currentComponent.name);

      if (currentHolder.currentOperation != null) {
        currentHolder.currentOperation.incrementOperationsCounter(1, 0);
      }
    }

    makeSnapshotIfNeeded(endTs);
  }
Stops and records results of timer which counts how much time was spent on read of page from disk cache.
<p>
If you wish to gather statistic for current durable component please call
{@link #startComponentOperation(String, ComponentType)} method before the call and {@link #completeComponentOperation()} after
the call.