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