---
title: XCTOSSignpostMetric
framework: xctest
role: symbol
role_heading: Class
path: xctest/xctossignpostmetric
---

# XCTOSSignpostMetric

A metric to record the time that a performance test spends executing a signposted region of code.

## Declaration

```swift
class XCTOSSignpostMetric
```

## Overview

Overview This metric captures the time that elapses between the begin and end events for a specific named os_signpost(_:dso:log:name:signpostID:) region. It doesn’t record any results when there isn’t a matching pair of begin and end events.

## Topics

### Measuring Specific Signposts

- [init(subsystem:category:name:)](xctest/xctossignpostmetric/init(subsystem:category:name:).md)

### Measuring Navigation Transitions

- [customNavigationTransitionMetric](xctest/xctossignpostmetric/customnavigationtransitionmetric.md)
- [navigationTransitionMetric](xctest/xctossignpostmetric/navigationtransitionmetric.md)

### Measuring Scrolling Properties

- [scrollingAndDecelerationMetric](xctest/xctossignpostmetric/scrollinganddecelerationmetric.md)

### Deprecated

- [applicationLaunch](xctest/xctossignpostmetric/applicationlaunch.md)
- [scrollDecelerationMetric](xctest/xctossignpostmetric/scrolldecelerationmetric.md)
- [scrollDraggingMetric](xctest/xctossignpostmetric/scrolldraggingmetric.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [XCTMetric](xctest/xctmetric.md)

## See Also

### Measurement Metrics

- [XCTMetric](xctest/xctmetric.md)
- [XCTCPUMetric](xctest/xctcpumetric.md)
- [XCTClockMetric](xctest/xctclockmetric.md)
- [XCTHitchMetric](xctest/xcthitchmetric.md)
- [XCTMemoryMetric](xctest/xctmemorymetric.md)
- [XCTStorageMetric](xctest/xctstoragemetric.md)
- [XCTApplicationLaunchMetric](xctest/xctapplicationlaunchmetric.md)
