table of contents
other versions
- trixie 3.2.10+ds-1
- testing 3.2.10+ds-1
- unstable 3.2.20+ds-2
- experimental 3.3~git20250806+ds-1
SDL_CACHELINE_SIZE(3) | SDL3 FUNCTIONS | SDL_CACHELINE_SIZE(3) |
NAME¶
SDL_CACHELINE_SIZE - A guess for the cacheline size used for padding.
SYNOPSIS¶
#include <SDL3/SDL_cpuinfo.h>
#define SDL_CACHELINE_SIZE 128
DESCRIPTION¶
Most x86 processors have a 64 byte cache line. The 64-bit PowerPC processors have a 128 byte cache line. We use the larger value to be generally safe.
AVAILABILITY¶
This macro is available since SDL 3.2.0.
SDL 3.2.20 | Simple Directmedia Layer |