Function

os_signpost(_:dso:log:name:signpostID:)

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

Declaration

func os_signpost(_ type: OSSignpostType, dso: UnsafeRawPointer = #dsohandle, log: OSLog, name: StaticString, signpostID: OSSignpostID = .exclusive)

See Also

Debugging CPU Performance

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.

struct OSSignpostType

The values that determine the role of a signpost.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software