Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
3578:0d1b16ee0bca | 3579:3427271a2d75 |
---|---|
153 "little" | 153 "little" |
154 #else | 154 #else |
155 "big" | 155 "big" |
156 #endif | 156 #endif |
157 ); | 157 ); |
158 SDL_ATprintVerbose( 1, "CPU count: %d\n", SDL_GetCPUCount()); | |
158 SDL_ATprintVerbose( 1, "Available extensions:\n" ); | 159 SDL_ATprintVerbose( 1, "Available extensions:\n" ); |
159 SDL_ATprintVerbose( 1, " RDTSC %s\n", SDL_HasRDTSC()? "detected" : "not detected" ); | 160 SDL_ATprintVerbose( 1, " RDTSC %s\n", SDL_HasRDTSC()? "detected" : "not detected" ); |
160 SDL_ATprintVerbose( 1, " MMX %s\n", SDL_HasMMX()? "detected" : "not detected" ); | 161 SDL_ATprintVerbose( 1, " MMX %s\n", SDL_HasMMX()? "detected" : "not detected" ); |
161 SDL_ATprintVerbose( 1, " MMX Ext %s\n", SDL_HasMMXExt()? "detected" : "not detected" ); | 162 SDL_ATprintVerbose( 1, " MMX Ext %s\n", SDL_HasMMXExt()? "detected" : "not detected" ); |
162 SDL_ATprintVerbose( 1, " 3DNow %s\n", SDL_Has3DNow()? "detected" : "not detected" ); | 163 SDL_ATprintVerbose( 1, " 3DNow %s\n", SDL_Has3DNow()? "detected" : "not detected" ); |