clear method

void clear()

Resets all performance counters.

Implementation

void clear() {
  peakQueueSize = 0;
  totalProcessed = 0;
  totalErrors = 0;
  processingTime.reset();
}