Metal GPU capture

I'm trying to get performance information in a Metal cpp program. I'm using Xcode 14.2. In the Counters tab, only the inscription No Data appears. What could be the problem, what am I doing wrong?

The libraries Metal, MetalKit, AppKit are connected. The code is taken from the Apple website from the Learn Metal with C++ section.

Hello.

We recommend trying with a more recent version of Xcode and macOS since Xcode 14.2 is a couple years old and will not contain the latest bug fixes and improvements.

This does look like a bug in your current configuration. If you are running macOS 12 and cannot upgrade the OS or version of Xcode, it may also be worthwhile to try Xcode 13.4.1 which should support that OS.

It may also be helpful to confirm if you are running an Intel Mac (Apple Silicon will have a Performance gauge rather than Counters).

Metal GPU capture
 
 
Q