include/SDL_cpuinfo.h
changeset 5115 427998ff3bcf
parent 3697 f7b03b6838cb
child 5116 02b860cbc7ce
equal deleted inserted replaced
5114:e337f792c6a7 5115:427998ff3bcf
    36 #ifdef __cplusplus
    36 #ifdef __cplusplus
    37 /* *INDENT-OFF* */
    37 /* *INDENT-OFF* */
    38 extern "C" {
    38 extern "C" {
    39 /* *INDENT-ON* */
    39 /* *INDENT-ON* */
    40 #endif
    40 #endif
       
    41 
       
    42 /* This is a guess for the cacheline size used for padding, and is correct
       
    43  * for most x86 processors at this point.
       
    44  */
       
    45 #define SDL_CACHELINE_SIZE  64
    41 
    46 
    42 /**
    47 /**
    43  *  This function returns the number of CPU cores available.
    48  *  This function returns the number of CPU cores available.
    44  */
    49  */
    45 extern DECLSPEC int SDLCALL SDL_GetCPUCount(void);
    50 extern DECLSPEC int SDLCALL SDL_GetCPUCount(void);