Use this function to get the number of CPU cores available.
Returns the total number of logical CPU cores. On CPUs that include technologies such as hyperthreading, the number of logical cores may be more than the number of physical cores.
SDL_Log("Number of logical CPU cores: %d", SDL_GetCPUCount());
You can add useful comments here
This function is available since SDL 2.0.0.