Searched refs:NumCPU (Results 1 – 6 of 6) sorted by relevance
344 int NumCPU = -1; in GetNumCPUs() local345 if (GetSysctl("hw.ncpu", &NumCPU)) return NumCPU; in GetNumCPUs()
414 numWorkers := runtime.NumCPU()
6 numParallel = flag.Int("n", runtime.NumCPU(), "number of parallel tests to run")
44 …numWorkers = flag.Int("num-workers", runtime.NumCPU(), "Runs the given number of workers when…
57 …numWorkers = flag.Int("num-workers", runtime.NumCPU(), "The number of workers to run in pa…