collectAndReset overloads

Synopses

Declared in <balm_collectorrepository.h>

Append collected metric records for the specified category, then reset those collectors.

void
collectAndReset(
    bsl::vector<MetricRecord>* records,
    Category const* category);

Same as the preceding overload, using a std::pmr::vector result.

void
collectAndReset(
    std::pmr::vector<MetricRecord>* records,
    Category const* category);

Same as the preceding overload, using a std::vector result.

void
collectAndReset(
    std::vector<MetricRecord>* records,
    Category const* category);

Parameters

Name

Description

records

receives the collected metric records

category

category whose collectors are collected and reset

Created with MrDocs