SDL_GetCPUCacheLineSize

Determine the L1 cache line size of the CPU.

This is useful for determining multi-threaded structure padding or SIMD prefetch sizes.

extern (C) nothrow @nogc extern
int
SDL_GetCPUCacheLineSize
()

Return Value

Type: int

The L1 cache line size of the CPU, in bytes.

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

Meta