Skip to content

SdlGetPerformanceCounter

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 SdlGetPerformanceFrequency.

Definition

Unit: Neslib.Sdl3.Time

function SdlGetPerformanceCounter: Int64; inline

Returns

Int64: The current counter value.

See Also

Remarks

It is safe to call this function from any thread.