Mercurial > sdl-ios-xcode
diff test/automated/platform/platform.c @ 3579:3427271a2d75
Added SDL_GetCPUCount() to see how many cores are available.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 16 Dec 2009 06:53:53 +0000 |
parents | c32c53fca10d |
children |
line wrap: on
line diff
--- a/test/automated/platform/platform.c Wed Dec 16 04:48:11 2009 +0000 +++ b/test/automated/platform/platform.c Wed Dec 16 06:53:53 2009 +0000 @@ -155,6 +155,7 @@ "big" #endif ); + SDL_ATprintVerbose( 1, "CPU count: %d\n", SDL_GetCPUCount()); SDL_ATprintVerbose( 1, "Available extensions:\n" ); SDL_ATprintVerbose( 1, " RDTSC %s\n", SDL_HasRDTSC()? "detected" : "not detected" ); SDL_ATprintVerbose( 1, " MMX %s\n", SDL_HasMMX()? "detected" : "not detected" );