---
title: totalCycles
framework: metal
role: symbol
role_heading: Type Property
path: metal/mtlcommoncounter/totalcycles
---

# totalCycles

The common name for the counter that tracks the total number of cycles the GPU uses to run a pass.

## Declaration

```swift
static let totalCycles: MTLCommonCounter
```

## See Also

### Common counter names

- [timestamp](metal/mtlcommoncounter/timestamp.md)
- [tessellationInputPatches](metal/mtlcommoncounter/tessellationinputpatches.md)
- [vertexInvocations](metal/mtlcommoncounter/vertexinvocations.md)
- [postTessellationVertexInvocations](metal/mtlcommoncounter/posttessellationvertexinvocations.md)
- [clipperInvocations](metal/mtlcommoncounter/clipperinvocations.md)
- [clipperPrimitivesOut](metal/mtlcommoncounter/clipperprimitivesout.md)
- [fragmentInvocations](metal/mtlcommoncounter/fragmentinvocations.md)
- [fragmentsPassed](metal/mtlcommoncounter/fragmentspassed.md)
- [computeKernelInvocations](metal/mtlcommoncounter/computekernelinvocations.md)
- [vertexCycles](metal/mtlcommoncounter/vertexcycles.md)
- [postTessellationVertexCycles](metal/mtlcommoncounter/posttessellationvertexcycles.md)
- [fragmentCycles](metal/mtlcommoncounter/fragmentcycles.md)
- [tessellationCycles](metal/mtlcommoncounter/tessellationcycles.md)
- [renderTargetWriteCycles](metal/mtlcommoncounter/rendertargetwritecycles.md)
