record(_:)

Record a value.

Metrics.swift:332
func record<DataType>(_ value: DataType) where DataType : BinaryInteger

Parameters

value

Value to record.

Recording a value is meant to have “set” semantics, rather than “add” semantics. This means that the value of this Recorder will match the passed in value, rather than accumulate and sum the values up.