---
title: queryTimestampFrequency()
framework: metal
role: symbol
role_heading: Instance Method
path: metal/mtldevice/querytimestampfrequency()
---

# queryTimestampFrequency()

Queries the frequency of the GPU timestamp in ticks per second.

## Declaration

```swift
func queryTimestampFrequency() -> UInt64
```

## Return Value

Return Value The frequency of the GPU timestamp in ticks per second.
