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.

Synopsis

Declared in <balm_metricsample.h>

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

Created with MrDocs