Home
last modified time | relevance | path

Searched refs:SDL_SystemRAM (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/src/cpuinfo/
A DSDL_cpuinfo.c871 static int SDL_SystemRAM = 0; variable
876 if (!SDL_SystemRAM) { in SDL_GetSystemRAM()
879 if (SDL_SystemRAM <= 0) { in SDL_GetSystemRAM()
884 if (SDL_SystemRAM <= 0) { in SDL_GetSystemRAM()
899 SDL_SystemRAM = (int)(memsize / (1024*1024)); in SDL_GetSystemRAM()
904 if (SDL_SystemRAM <= 0) { in SDL_GetSystemRAM()
908 SDL_SystemRAM = (int)(stat.ullTotalPhys / (1024 * 1024)); in SDL_GetSystemRAM()
913 if (SDL_SystemRAM <= 0) { in SDL_GetSystemRAM()
916 SDL_SystemRAM = (int) (sysram / 0x100000U); in SDL_GetSystemRAM()
920 if (SDL_SystemRAM <= 0) { in SDL_GetSystemRAM()
[all …]

Completed in 3 milliseconds