BloombergLP::balm::CollectorRepository::collectAndReset

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);
» more...

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

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

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

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

Parameters

NameDescription
recordsreceives the collected metric records
categorycategory whose collectors are collected and reset