BloombergLP::balm::MetricSample::appendGroup

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

Synopsis

Declared in <balm_metricsample.h>

void
appendGroup(MetricSampleGroup const& group);

Description

If group.numRecords() is 0 this method has no effect. The behavior is undefined unless group.elapsedTime() > bsls::TimeInterval(0, 0). Note that the MetricRecord objects referred to by records are not copied: hence, the supplied array must remain valid for the productive lifetime of this object or until the group is removed by calling removeAllRecords().

Parameters

NameDescription
groupsample group to append