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 from the specified records and elapsed time.
MetricSampleGroup(
MetricRecord const* records,
int numRecords,
bsls::TimeInterval const& elapsedTime);
» more...
| Name | Description |
|---|---|
| original | sample group to copy |
| records | contiguous sequence of metric records (held, not owned) |
| numRecords | number of records in records |
| elapsedTime | duration over which the records were collected |