stats method

void stats (String name, int value)

Calculates min/average/max statistics based on the current and previous values.

  • name a counter name of Statistics type
  • value a value to update statistics