---
name: "SDL_GetPerformanceFrequency"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_GetPerformanceFrequency"
---

# SDL\_GetPerformanceFrequency(3)

Get the count per second of the high resolution counter.

## NAME

SDL\_GetPerformanceFrequency - Get the count per second of the high resolution counter.

## HEADER FILE

Defined in SDL3/SDL\_timer.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**Uint64 SDL\_GetPerformanceFrequency(void);**

## RETURN VALUE

( **Uint64** ) Returns a platform-specific count per second.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_GetPerformanceCounter**(3)](/SDL_GetPerformanceCounter/3.md)
