[#BloombergLP-balm-IntegerCollector-accumulateCountTotalMinMax]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/IntegerCollector.adoc[IntegerCollector]::accumulateCountTotalMinMax
:relfileprefix: ../../../
:mrdocs:

Accumulate the specified count, total, min, and max into this collector&period;

== Synopsis

Declared in `&lt;balm&lowbar;integercollector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
accumulateCountTotalMinMax(
    int count,
    int total,
    int min,
    int max);
----

== Description

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

== Parameters

[cols="1,4"]
|===
| 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
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
