Searched refs:NumJobs (Results 1 – 2 of 2) sorted by relevance
106 NumJobs="`echo $1 | sed -e 's,-j\([0-9]*\),\1,g'`"107 if [ -z "$NumJobs" ]; then109 NumJobs="$1"180 if [ -z "$NumJobs" ]; then181 NumJobs=`sysctl -n hw.activecpu 2> /dev/null || true`183 if [ -z "$NumJobs" ]; then184 NumJobs=`sysctl -n hw.ncpu 2> /dev/null || true`186 if [ -z "$NumJobs" ]; then187 NumJobs=`grep -c processor /proc/cpuinfo 2> /dev/null || true`189 if [ -z "$NumJobs" ]; then[all …]
163 int NumJobs, std::atomic<bool> *HasErrors) { in WorkerThread() argument166 if (C >= NumJobs) break; in WorkerThread()182 int NumWorkers, int NumJobs) { in RunInMultipleProcesses() argument195 V.push_back(std::thread(WorkerThread, Cmd, &Counter, NumJobs, &HasErrors)); in RunInMultipleProcesses()