SDL_GetPerformanceCounter

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().

extern (C) nothrow @nogc extern
ulong
SDL_GetPerformanceCounter
()

Return Value

Type: ulong

The current counter value.

Threadsafety: It is safe to call this function from any thread.

See Also

Meta