pub fn online() -> usize
The CPUs online now, which hot-plug changes; between 1 and logical(). Linux: /sys/devices/system/cpu/online; macOS: hw.activecpu; Windows: the active processors across every processor group.
logical()
/sys/devices/system/cpu/online
hw.activecpu