resetCounters method

void resetCounters()

Zeroes the hit/miss/eviction counters (they survive clear, which is a cache operation, not a fresh measurement). Used by benchmarks that reuse a warm cache across measurement passes.

Implementation

void resetCounters() {
  _hits = 0;
  _misses = 0;
  _evictions = 0;
}