BloombergLP::balm::MetricSample::appendGroup

appendGroup overloads

Synopses

Declared in <balm_metricsample.h>

Append the specified group of records to the sequence of groups maintained by this sample.

void
appendGroup(MetricSampleGroup const& group);
» more...

Append a new group of the specified records measuring the specified elapsedTime.

void
appendGroup(
    MetricRecord const* records,
    int numRecords,
    bsls::TimeInterval const& elapsedTime);
» more...

Parameters

NameDescription
groupsample group to append
recordscontiguous sequence of metric records (held, not owned)
numRecordsnumber of records in records
elapsedTimeduration over which the records were collected