SDL_GetTicks

Function SDL_GetTicks 

Source
pub unsafe extern "C" fn SDL_GetTicks() -> Uint64
Expand description

Get the number of milliseconds that have elapsed since the SDL library initialization.

§Return value

Returns an unsigned 64‑bit integer that represents the number of milliseconds that have elapsed since the SDL library was initialized (typically via a call to SDL_Init).

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also