os_signpost(_:dso:log:name:signpostID:)
Logs 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)Parameters
- type:
The type of signpost to create.
- log:
A log object to write the signpost to.
- name:
The name of the signpost.
- signpostID:
A signpost identifier you use to disambiguate between signposts with the same name.