Contents

MTL4TimestampGranularity

Provides a hint to the system about the desired accuracy when writing GPU counter timestamps.

Declaration

enum MTL4TimestampGranularity

Overview

Pass these values to writeTimestamp(granularity:counterHeap:index:) and writeTimestamp(granularity:after:counterHeap:index:) to control the desired accurracy of the counter sampling operation.

Topics

Enumeration Cases

Initializers

See Also

Submitting work to a GPU with Metal 4