Structure

OSSignpostType

The values that determine the role of a signpost.

Declaration

struct OSSignpostType

Topics

Specifying Signpost Types

static let begin: OSSignpostType

A signpost that marks the start of a time interval of interest in your code.

static let end: OSSignpostType

A signpost that marks the end of a time interval of interest in your code.

static let event: OSSignpostType

A signpost that marks an event in your code.

Creating Signpost Types

init(rawValue: UInt8)

Creates a signpost from a raw integer value.

init(UInt8)

Creates a signpost from a raw integer value.

Inspecting Signpost Types

var rawValue: UInt8

An integer value that represents the role of a signpost.

Relationships

See Also

Debugging CPU Performance

func os_signpost(OSSignpostType, dso: UnsafeRawPointer, log: OSLog, name: StaticString, signpostID: OSSignpostID)

Marks a point of interest in your code as a time interval or as an event for debugging performance in Instruments.

func os_signpost(OSSignpostType, dso: UnsafeRawPointer, log: OSLog, name: StaticString, signpostID: OSSignpostID, StaticString, CVarArg)

Marks a point of interest in your code as a time interval or as an event for debugging performance in Instruments, and includes a detailed message.

struct OSSignpostID

An identifier you use to distinguish signposts that have the same name and that log to the same OSLog.