Accumulate the specified count, total, min, and max into this metric.
Synopsis
Declared in <balm_integermetric.h>
void
accumulateCountTotalMinMax(
int count,
int total,
int min,
int max);
Description
Increase the event count by the specified count and add the specified total to the accumulated total; if the specified min is less than the current minimum recorded value of the metric, set the new minimum value to be min; if the specified max is greater than the current maximum recorded value, set the new maximum value to be max. If, however, this integer metric is inactive (i.e., isActive() is false), then this method has no effect.
Parameters
Name |
Description |
count |
number of events to add to the event count |
total |
amount to add to the accumulated total |
min |
candidate minimum measurement value |
max |
candidate maximum measurement value |
Created with MrDocs