include/SDL_cpuinfo.h
changeset 3579 3427271a2d75
parent 3407 d3baf5ac4e37
child 3697 f7b03b6838cb
equal deleted inserted replaced
3578:0d1b16ee0bca 3579:3427271a2d75
    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 /**
       
    43  *  This function returns the number of CPU cores available.
       
    44  */
       
    45 extern DECLSPEC int SDLCALL SDL_GetCPUCount(void);
    41 
    46 
    42 /**
    47 /**
    43  *  This function returns true if the CPU has the RDTSC instruction.
    48  *  This function returns true if the CPU has the RDTSC instruction.
    44  */
    49  */
    45 extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void);
    50 extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void);