Go to the source code of this file.
Functions | |
int | numCpus () |
Try to find the number of CPUs on the current machine. |
Definition in file SysInfo.H.
int numCpus | ( | ) |
Try to find the number of CPUs on the current machine.
Under Linux we read /proc/cpuinfo; under Mac OSX we check the output of 'sysctl -a hw'.
Definition at line 48 of file SysInfo.C.
References rutz::exec_pipe::stream().