Each instance of this class represents the aggregated value of a metric. A metric record contains a MetricId object (identifying the metric), the number of times the measured event has occurred as well as the minimum, maximum, and total of the measured value. The default metricId is the invalid id value, the default count is 0, the defined k_DEFAULT_MIN constant (the representation for positive default total is 0.0, the default min is the infinity), and the default max is the defined k_DEFAULT_MAX constant (the representation for negative infinity).
Declared in <balm_metricrecord.h>
class MetricRecord;
| Name | Description |
|---|---|
MetricRecord [constructor] | Constructors |
count | count overloads |
max | max overloads |
metricId | metricId overloads |
min | min overloads |
print | Write a description of this record to the specified stream and return a reference to the modifiable stream. |
total | total overloads |
operator BloombergLP::bslmf::NestedTraitDeclaration<MetricRecord, is_trivially_copyable> | Declare that this type is trivially copyable. |
| Name | Description |
|---|---|
DEFAULT_MAX | Deprecated alias for k_DEFAULT_MAX. |
DEFAULT_MIN | Deprecated alias for k_DEFAULT_MIN. |
k_DEFAULT_MAX | Default maximum value (negative infinity). |
k_DEFAULT_MIN | Default minimum value (positive infinity). |
| Name | Description |
|---|---|
operator!= | Return true if the specified lhs and rhs metric records do not have the same value and false otherwise. Two records do not have same value if they differ in their respective values for metricId, count, total, min, or max attributes. |
operator== | Return true if the specified lhs and rhs metric records have the same value and false otherwise. Two records have the same value if they have the same values for their metricId, count, total, min, and max attributes, respectively. |