Added SDL_GetCPUCount() to see how many cores are available.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404328
This commit is contained in:
parent
3f0f9188ed
commit
29601c280b
9 changed files with 175 additions and 183 deletions
|
@ -39,6 +39,11 @@ extern "C" {
|
|||
/* *INDENT-ON* */
|
||||
#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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue