> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetTimestampFrequency

> This method is used to determine the rate at which the GPU timestamp counter increments.

This method is used to determine the rate at which the GPU timestamp counter increments.

## Syntax

```cpp theme={null}
HRESULT GetTimestampFrequency(
    UINT64  pFrequency
)
```

### Parameters

*pFrequency \[out]*\
Type: UINT64 \*

The GPU timestamp counter frequency (in ticks/second).

### Return value

Type: HRESULT

This method returns one of the [Direct3D 12 Return Codes](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/d3d12-graphics-reference-returnvalues).

## Remarks

For more information, refer to [Timing](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/timing).

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[ID3D12CommandQueue](/reference/graphics/d3d12_xs/interfaces/ID3D12CommandQueue/id3d12commandqueue_xs)


## Related topics

- [ShapeFiltVolContext](/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [GetShapeFiltVolFrequency](/reference/audio/shapefiltvolcontext/functions/getshapefiltvolfrequency.md)
- [GetShapeFiltVolFrequencyTarget](/reference/audio/shapefiltvolcontext/functions/getshapefiltvolfrequencytarget.md)
- [SetShapeFiltVolFrequency](/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequency.md)
- [SetShapeFiltVolFrequencyTarget](/reference/audio/shapefiltvolcontext/functions/setshapefiltvolfrequencytarget.md)
