Scroll to navigation

SDL_GetPerformanceFrequency(3) SDL3 FUNCTIONS SDL_GetPerformanceFrequency(3)

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

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.1.3.

SEE ALSO

(3), SDL_GetPerformanceCounter(3)

SDL 3.1.6 Simple Directmedia Layer