start(mode:period:)

Starts the counter.

Counter.swift:108
func start(mode: Mode? = nil, period: UInt64? = nil)

Parameters

mode

The mode of the counter. If it’s nil, it adopts the mode set when initializing the counter.

period

The period of the counter in microsecond. If it’s nil, it equals the period set when initializing the counter.