BloombergLP::balm::MetricSampleGroup::MetricSampleGroup

Constructors

Synopses

Declared in <balm_metricsample.h>

Create an empty sample group. By default, the records() address is 0, numRecords() is 0, and the elapsedTime() is the default- constructed bsls::TimeInterval.

MetricSampleGroup();
» more...

Create a sample group having the same (in-core) value as the specified original sample group.

MetricSampleGroup(MetricSampleGroup const& original);
» more...

Create a sample group from the specified records and elapsed time.

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

Parameters

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