SDL_GetPerformanceFrequency(3)
π NAME π
This is the SDL3 FUNCTIONS page for SDL_GetPerformanceFrequency(3), bestie. Itβs literally the glow-up for one job: get the count per second of the high resolution counter. β¨
π¦ SYNOPSIS π¦
#include <SDL3/SDL_timer.h>
Uint64 SDL_GetPerformanceFrequency(void);
No cap, thatβs the whole signature. Uint64, no args, sheβs ready. π
πΈ RETURN VALUE πΈ
Returns a platform-specific count per second. Thatβs the vibe. Different platforms, different numbers, same iconic energy. π
π«Ά THREAD SAFETY π«Ά
It is safe to call this function from any thread. Fr fr, any thread. No gatekeeping. π
β AVAILABILITY β
This function is available since SDL 3.2.0. Sheβs been here since 3.2.0, and she ate. π
π SEE ALSO π
SDL_GetPerformanceCounter(3)β the sister function, go say hi. π
okay bestie thatβs the whole page, mwah π«Άπ source: Simple Directmedia Layer, version: SDL 3.4.18, date: not listed in this footer (sheβs mysterious like that β¨). periodt. π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms