[#BloombergLP-balm-MetricSampleGroup-setElapsedTime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricSampleGroup.adoc[MetricSampleGroup]::setElapsedTime :relfileprefix: ../../../ :mrdocs: Set the elapsed time (used to indicate the time span over which this object's metric records were aggregated) to the specified `elapsedTime`. == Synopsis Declared in `<balm_metricsample.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setElapsedTime(xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& elapsedTime); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#