Append collected metric records for the specified category, then reset those collectors.
Synopsis
Declared in <balm_collectorrepository.h>
void
collectAndReset(
bsl::vector<MetricRecord>* records,
Category const* category);
Description
Append to the specified records the collected metric record values from the collectors in this repository belonging to the specified category; then reset those collectors to their default values.
Parameters
Name |
Description |
records |
receives the collected metric records |
category |
category whose collectors are collected and reset |
Created with MrDocs