code: void addSample(StopwatchSample sample) {
  		total += sample.getTotal();
  		counter += sample.getCounter();
  
  		if (min > sample.getMin()) {
  			min = sample.getMin();
  			minTimestamp = sample.getMinTimestamp();
  		}
  
  		if (max < sample.getMax()) {
  			max = sample.getMax();
  			maxTimestamp = sample.getMaxTimestamp();
  		}
  
  		active += sample.getActive();
  
  		if (maxActive < sample.getMaxActive()) {
  			maxActive = sample.getMaxActive();
  			maxActiveTimestamp = sample.getMaxActiveTimestamp();
  		}
  	}
docs: Add stopwatch sample to current statistics aggregate.
  
  @param sample - stopwatch sample that will be added to statistics aggregate