HomeSort by relevance Sort by last modified time
    Searched refs:numberOfCPUs (Results 1 - 3 of 3) sorted by null

  /external/webkit/Tools/Scripts/
num-cpus 6 print numberOfCPUs() . "\n";
webkitdirs.pm 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;
    [all...]
build-webkit 564 $makeArgs .= ($makeArgs ? " " : "") . "-j" . numberOfCPUs() if $makeArgs !~ /-j\s*\d+/;

Completed in 203 milliseconds