Home | History | Annotate | Download | only in Scripts

Lines Matching refs:numberOfCPUs

54 my $numberOfCPUs;
243 return if defined $numberOfCPUs;
247 chomp($numberOfCPUs = `nproc 2> /dev/null`);
248 if ($numberOfCPUs eq "") {
249 $numberOfCPUs = (grep /processor/, `cat /proc/cpuinfo`);
253 $numberOfCPUs = $ENV{NUMBER_OF_PROCESSORS};
256 $numberOfCPUs = `ls /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor | wc -w`;
259 $numberOfCPUs = `sysctl -n hw.ncpu`;
526 sub numberOfCPUs()
529 return $numberOfCPUs;
1445 $makeArgs = "-j" . numberOfCPUs();
1792 my $numCpus = numberOfCPUs();