TimeUnit

public enum TimeUnit : Int32

Enumeration of different resolutions supported by the TimespanMetricType and TimingDistributionMetricType.

  • Represents nanosecond precision.

    Declaration

    Swift

    case nanosecond = 0
  • Represents microsecond precision.

    Declaration

    Swift

    case microsecond = 1
  • Represents millisecond precision.

    Declaration

    Swift

    case millisecond = 2
  • Represents second precision.

    Declaration

    Swift

    case second = 3
  • Represents minute precision.

    Declaration

    Swift

    case minute = 4
  • Represents hour precision.

    Declaration

    Swift

    case hour = 5
  • day

    Represents day precision.

    Declaration

    Swift

    case day = 6