Constructors
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 containing the specified sequence of records of specified length numRecords, recorded over a period whose duration is the specified elapsedTime. The behavior is undefined unless 0 <= numRecords and records points to a contiguous sequence of (at least) numRecords metric records. Note that the contents of records is not copied and the supplied array must remain valid for the productive lifetime of this object or until the records are set to a different sequence by calling the setRecords manipulator.
MetricSampleGroup(
MetricRecord const* records,
int numRecords,
bsls::TimeInterval const& elapsedTime);
» more...