Function SDL_GetPerformanceCounter
pub unsafe extern "C" fn SDL_GetPerformanceCounter() -> u64
Available on crate feature
dep_sdl2
only.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