init(identifier:displayName:doubleValue:unitSymbol:)
Initializes a performance measurement for a single iteration with the value and unit of measurement.
Declaration
init(identifier: String, displayName: String, doubleValue: Double, unitSymbol: String)Parameters
- identifier:
A unique identifier for the measurement.
- displayName:
A human-readable name for the measurement.
- doubleValue:
A value for the measurement.
- unitSymbol:
A string that represents the unit of measurement, such as seconds.