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.

    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.systemUptime

    Declaration

    Swift

    public let timestamp: TimeInterval?
  • Default initializer.

    Declaration

    Swift

    public init(uptime: TimeInterval, timestamp: TimeInterval, date: Date, stepPath: String)

    Parameters

    uptime

    The clock uptime.

    stepPath

    An identifier marking the current step.

    timestampDate

    The date timestamp when the measurement was taken (if available).

    timestamp

    Relative time to when the recorder was started.