|
Size: 726
Comment: camelcase pragma change
|
Size: 576
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 6: | Line 5: |
| Use this function to return the L1 cache line size of the CPU. | Use this function to determine the L1 cache line size of the CPU. |
| Line 16: | Line 15: |
| Returns the L1 cache line size of the CPU on success^, or a negative error code on failure; call [[SDL_GetError]]() for more information^. | Returns the L1 cache line size of the CPU. |
SDL_GetCPUCacheLineSize
Use this function to determine the L1 cache line size of the CPU.
Syntax
int SDL_GetCPUCacheLineSize(void)
Return Value
Returns the L1 cache line size of the CPU.
Code Examples
You can add your code example here
Remarks
This is useful for determining multi-threaded structure padding or SIMD prefetch sizes.
