reset static method

void reset()

Resets the windowed counters (callCount, maxDepth, and the allocation counters). depth is the live nesting level and is intentionally left untouched.

Implementation

static void reset() {
  callCount = 0;
  maxDepth = 0;
  envAllocs = 0;
  closureAllocs = 0;
  instanceAllocs = 0;
  bridgedAllocs = 0;
}