Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/cpuinfo/
A DSDL_cpuinfo.c547 static int SDL_CPUCount = 0; variable
552 if (!SDL_CPUCount) { in SDL_GetCPUCount()
555 if (SDL_CPUCount <= 0) { in SDL_GetCPUCount()
560 if (SDL_CPUCount <= 0) { in SDL_GetCPUCount()
561 size_t size = sizeof(SDL_CPUCount); in SDL_GetCPUCount()
566 if (SDL_CPUCount <= 0) { in SDL_GetCPUCount()
573 if (SDL_CPUCount <= 0) { in SDL_GetCPUCount()
575 &SDL_CPUCount, sizeof(SDL_CPUCount) ); in SDL_GetCPUCount()
580 if (SDL_CPUCount <= 0) { in SDL_GetCPUCount()
581 SDL_CPUCount = 1; in SDL_GetCPUCount()
[all …]

Completed in 4 milliseconds