<!--
{
  "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/MTLCounter",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(pl)MTLCounter"
  },
  "title" : "MTLCounter"
}
-->

# MTLCounter

An individual counter a GPU device lists within one of its counter sets.

```
protocol MTLCounter : NSObjectProtocol, Sendable
```

## Overview

You can determine which counters a GPU supports within a counter set (see [`MTLCounterSet`](/documentation/Metal/MTLCounterSet)) by checking the elements of its [`counters`](/documentation/Metal/MTLCounterSet/counters) property. A counter’s [`name`](/documentation/Metal/MTLCounter/name) property typically matches one of the common counter set names that [`MTLCommonCounter`](/documentation/Metal/MTLCommonCounter) defines. For more information, see [Confirming which counters and counter sets a GPU supports](/documentation/Metal/confirming-which-counters-and-counter-sets-a-gpu-supports).

## Topics

### Identifying a counter

[`name`](/documentation/Metal/MTLCounter/name)

The name of a GPU’s counter instance.



---

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)