recordArr#

Fully qualified name: omni::observability::recordArr

Defined in omni/observability/IMetrics.h

template<class ValueType, class T>
void omni::observability::recordArr(
const carb::ObjectPtr<IHistogram<ValueType>> &histogram,
T value,
const Attribute attributes[],
std::size_t attributeCount,
) noexcept#

Record a value in a histogram with array attributes.

Remark

If the histogram carb::ObjectPtr is null, this function is a no-op.

Parameters:
  • histogram[in] The histogram instrument to record to (null pointer is permitted).

  • value[in] The value to record in the histogram.

  • attributes[in] Array of attributes to associate with this measurement.

  • attributeCount[in] Number of attributes in the array.