recordCounterValue static method

void recordCounterValue(
  1. String name,
  2. int value
)

Record a specific value for a named counter

Implementation

static void recordCounterValue(String name, int value) {
  if (!ZenConfig.enablePerformanceTracking) return;

  _counters[name] = value;
}