Wiki Page Content

Revision 5 as of 2013-11-02 13:08:14

Clear message

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, in kilobytes.

Code Examples

You can add your code example here

Remarks

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


CategoryAPI, CategoryCPU

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit