PerfCounter constructor

PerfCounter(
  1. String name
)

Creates a performance counter.

Implementation

PerfCounter(this.name)
    : _maxTimeInMicroseconds = 0,
      _totalTimeInMicroseconds = 0,
      _totalCount = 0,
      _totalErrors = 0;