RSDRecordMarker
public struct RSDRecordMarker : RSDSampleRecord
RSDRecordMarker is a concrete implementation of RSDSampleRecord that can be used to mark the step transitions
for a recording.
-
The clock uptime. On Apple OS platforms, this is the time interval since the device was rebooted or the clock rolled.
Seealso
RSDClock.uptime()Declaration
Swift
public let uptime: TimeInterval -
An identifier marking the current step.
Declaration
Swift
public let stepPath: String -
The date timestamp when the measurement was taken (if available).
Declaration
Swift
public let timestampDate: Date? -
The relative timestamp used by this recorder.
-seealso:
ProcessInfo.processInfo.systemUptimeDeclaration
Swift
public let timestamp: TimeInterval? -
Default initializer.
Declaration
Swift
public init(uptime: TimeInterval, timestamp: TimeInterval, date: Date, stepPath: String)Parameters
uptimeThe clock uptime.
stepPathAn identifier marking the current step.
timestampDateThe date timestamp when the measurement was taken (if available).
timestampRelative time to when the recorder was started.
View on GitHub
RSDRecordMarker Structure Reference