mirror of
https://github.com/yawut/SDL.git
synced 2026-09-12 02:56:34 -05:00
Added SDL_GetCPUCount() to see how many cores are available.
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user