(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_GetPerformanceFrequency

Get the count per second of the high resolution counter.

Header File

Defined in SDL_timer.h

Syntax

Uint64 SDL_GetPerformanceFrequency(void);

Return Value

Returns a platform-specific count per second.

Version

This function is available since SDL 2.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryTimer