system_num_cpus - get number of logical processors on the system
#include <magenta/syscalls.h> uint32_t mx_system_get_num_cpus(void);
system_get_num_cpus() returns the number of CPUs (logical processors) that exist on the system currently running. This number cannot change during a run of the system, only at boot time.
system_get_num_cpus() returns the number of CPUs.
system_get_num_cpus() cannot fail.