Function sdl2_sys::SDL_GetCPUCacheLineSize
source ยท pub unsafe extern "C" fn SDL_GetCPUCacheLineSize() -> c_int
Expand description
Determine the L1 cache line size of the CPU.
This is useful for determining multi-threaded structure padding or SIMD prefetch sizes.
\returns the L1 cache line size of the CPU, in bytes.
\since This function is available since SDL 2.0.0.