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.

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

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

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

Parameters

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

Created with MrDocs