<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLCounterResultStageUtilization",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@SA@MTLCounterResultStageUtilization"
  },
  "title" : "MTLCounterResultStageUtilization"
}
-->

# MTLCounterResultStageUtilization

The data structure for storing the data you resolve from a stage-utilization counter set.

```
struct MTLCounterResultStageUtilization
```

## Overview

For steps that explain how to resolve data from a counter set, such as [`stageUtilization`](/documentation/Metal/MTLCommonCounterSet/stageUtilization), see [Converting a GPU’s counter data into a readable format](/documentation/Metal/converting-a-gpus-counter-data-into-a-readable-format).

## Topics

### Stage utilization values

[`totalCycles`](/documentation/Metal/MTLCounterResultStageUtilization/totalCycles)

The total number of cycles the GPU uses to run a pass.

[`vertexCycles`](/documentation/Metal/MTLCounterResultStageUtilization/vertexCycles)

The number of cycles the GPU uses to run vertex shaders during a pass.

[`tessellationCycles`](/documentation/Metal/MTLCounterResultStageUtilization/tessellationCycles)

The number of cycles the GPU uses to run the tessellation stage during a pass.

[`postTessellationVertexCycles`](/documentation/Metal/MTLCounterResultStageUtilization/postTessellationVertexCycles)

The number of cycles the GPU uses to run post-tessellation vertex shaders during a pass.

[`fragmentCycles`](/documentation/Metal/MTLCounterResultStageUtilization/fragmentCycles)

The number of cycles the GPU uses to run fragment shaders during a pass.

[`renderTargetCycles`](/documentation/Metal/MTLCounterResultStageUtilization/renderTargetCycles)

The number of cycles the GPU uses to write data to render targets during a render pass.

### Swift support

[`init()`](/documentation/Metal/MTLCounterResultStageUtilization/init())

Creates a default stage-utilization result.

[`init(totalCycles:vertexCycles:tessellationCycles:postTessellationVertexCycles:fragmentCycles:renderTargetCycles:)`](/documentation/Metal/MTLCounterResultStageUtilization/init(totalCycles:vertexCycles:tessellationCycles:postTessellationVertexCycles:fragmentCycles:renderTargetCycles:))

Creates a stage-utilization result from utilization values.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)