Function sdl2_sys::SDL_GetPerformanceCounter
source ยท pub unsafe extern "C" fn SDL_GetPerformanceCounter() -> Uint64
Expand description
Get the current value of the high resolution counter.
This function is typically used for profiling.
The counter values are only meaningful relative to each other. Differences between values can be converted to times by using SDL_GetPerformanceFrequency().
\returns the current counter value.
\since This function is available since SDL 2.0.0.
\sa SDL_GetPerformanceFrequency