---
title: MTLCommonCounterSet
framework: metal
role: symbol
role_heading: Structure
path: metal/mtlcommoncounterset
---

# MTLCommonCounterSet

The name of a specific counter set that a GPU device can support.

## Declaration

```swift
struct MTLCommonCounterSet
```

## Mentioned in

Confirming which counters and counter sets a GPU supports

## Overview

Overview This type defines the constants that let a GPU device declare which counter sets it supports. important: Some GPUs may only support some of the counters within a counter set. For more information, see Confirming which counters and counter sets a GPU supports.

## Topics

### Common counter set names

- [timestamp](metal/mtlcommoncounterset/timestamp.md)
- [stageUtilization](metal/mtlcommoncounterset/stageutilization.md)
- [statistic](metal/mtlcommoncounterset/statistic.md)

### Swift support

- [init(rawValue:)](metal/mtlcommoncounterset/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Counters and counter sets

- [Confirming which counters and counter sets a GPU supports](metal/confirming-which-counters-and-counter-sets-a-gpu-supports.md)
- [MTLCounterSet](metal/mtlcounterset.md)
- [MTLCounter](metal/mtlcounter.md)
- [MTLCommonCounter](metal/mtlcommoncounter.md)
