init(label:dimensions:preferredDisplayUnit:)

Create a new Timer.

Metrics.swift:560
convenience init(label: String, dimensions: [(String, String)] = [], preferredDisplayUnit displayUnit: TimeUnit)

Parameters

label

The label for the Timer.

dimensions

The dimensions for the Timer.

displayUnit

A hint to the backend responsible for presenting the data of the preferred display unit. This is not guaranteed to be supported by all backends.