XCTAssertClockIdentifier
public enum XCTAssertClockIdentifier
extension XCTAssertClockIdentifier: XCTAssertMetricIdentifier
Identifies the type of time you want to make assertion for in a performance test.
XCTClockMetric
measures the total elapsed time during execution of the block argument to
measure(metrics:block:)
. To make assertion to these statistics use any of the values of
XCTAssertClockIdentifier
.
-
Represents monotonic records of time, regardless of changes to the system clock. These result includes time spent executing code under test, and time when the CPU is idle or running other code.
Declaration
Swift
case timeMonotonic
-
Declaration
Swift
public typealias RelatedMetric = XCTClockMetric
-
Declaration
Swift
public var identifier: String { get }