changeset 3579 | 3427271a2d75 |
parent 3407 | d3baf5ac4e37 |
child 3697 | f7b03b6838cb |
--- a/include/SDL_cpuinfo.h Wed Dec 16 04:48:11 2009 +0000 +++ b/include/SDL_cpuinfo.h Wed Dec 16 06:53:53 2009 +0000 @@ -40,6 +40,11 @@ #endif /** + * This function returns the number of CPU cores available. + */ +extern DECLSPEC int SDLCALL SDL_GetCPUCount(void); + +/** * This function returns true if the CPU has the RDTSC instruction. */ extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void);