Packages
sdl2
SDL
CPU
get_cache_line_size
get_num_cores
get_system_ram
has_3dnow
has_altivec
has_avx
has_avx2
has_mmx
has_rdtsc
has_sse
has_sse2
has_sse3
has_sse41
has_sse42
get_num_cores
Description:
[
Version
( since =
"2.0.0"
) ]
[
CCode
( cname =
"SDL_GetCPUCount"
) ]
public
int
get_num_cores
()
This function name is misleading, you get logical core count, not physical CPU count
Namespace:
SDL.CPU
Package:
sdl2