BloombergLP::balm::Collector::accumulateCountTotalMinMax

Accumulate the specified count, total, min, and max into this collector.

Synopsis

Declared in <balm_collector.h>

void
accumulateCountTotalMinMax(
    int count,
    double total,
    double min,
    double max);

Description

Increment the event count by the specified count, add the specified total to the accumulated total, if specified min is less than the minimum value, set min to be the minimum value, and if specified max is greater than the maximum value, set max to be the maximum value.

Parameters

NameDescription
countnumber of events to add to the event count
totalamount to add to the accumulated total
mincandidate minimum measurement value
maxcandidate maximum measurement value