ΒΆint getHostNumPhysicalCores()

Description

Get the number of physical cores (as opposed to logical cores returned from thread::hardware_concurrency(), which includes hyperthreads). Returns -1 if unknown for the current host system.

Declared at: llvm/include/llvm/Support/Host.h:58