BloombergLP::balm::IntegerMetric::IntegerMetric

Constructors

Synopses

Declared in <balm_integermetric.h>

Create an integer metric object having the same value as original.

IntegerMetric(IntegerMetric const& original);
» more...

Create an integer metric object that uses the specified collector.

explicit
IntegerMetric(IntegerCollector* collector);
» more...

Create an integer metric object for the specified metricId.

explicit
IntegerMetric(
    MetricId const& metricId,
    MetricsManager* manager = 0);
» more...

Create an integer metric object for the specified category and name.

IntegerMetric(
    char const* category,
    char const* name,
    MetricsManager* manager = 0);
» more...

Parameters

NameDescription
originalinteger metric to copy
collectorinteger collector used to record metric values
metricIdidentity of the metric to collect
managermetrics manager used to provide a collector (0 for default)
categorynull-terminated metric category name
namenull-terminated metric name