Function SDL_GetCPUCacheLineSize
pub unsafe extern "C" fn SDL_GetCPUCacheLineSize() -> i32
Available on crate feature
dep_sdl3
only.Expand description
Determine the L1 cache line size of the CPU.
This is useful for determining multi-threaded structure padding or SIMD prefetch sizes.
§Return value
Returns the L1 cache line size of the CPU, in bytes.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.