appendGroup overloads
Declared in <balm_metricsample.h>
Append the specified group of records to the sequence of groups maintained by this sample. 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().
void
appendGroup(MetricSampleGroup const& group);
» more...
Append to the sequence of groups maintained by this sample a new group containing the specified sequence of records of specified length numRecords measuring the specified elapsedTime. The behavior is undefined unless 0 <= numRecords, records refers to a contiguous sequence of size (at least) numRecords, and elapsedTime > bsls::TimeInterval(0, 0). Note that records is not copied: hence, the supplied array must remain valid for the lifetime of this object or until the records are removed by calling removeAllRecords(). This method is functionally equivalent to: ` appendGroup(MetricSampleGroup(records, numRecords, elapsedTime)); `
void
appendGroup(
MetricRecord const* records,
int numRecords,
bsls::TimeInterval const& elapsedTime);
» more...