Searched refs:NumCPU (Results 1 – 13 of 13) sorted by relevance
/external/llvm-project/llvm/utils/benchmark/src/ |
D | sysinfo.cc | 368 int NumCPU = -1; in GetNumCPUs() local 369 if (GetSysctl("hw.ncpu", &NumCPU)) return NumCPU; in GetNumCPUs() 383 int NumCPU = sysconf(_SC_NPROCESSORS_ONLN); in GetNumCPUs() 384 if (NumCPU < 0) { in GetNumCPUs() 389 return NumCPU; in GetNumCPUs()
|
/external/libcxx/utils/google-benchmark/src/ |
D | sysinfo.cc | 402 int NumCPU = -1; in GetNumCPUs() local 403 if (GetSysctl("hw.ncpu", &NumCPU)) return NumCPU; in GetNumCPUs() 417 int NumCPU = sysconf(_SC_NPROCESSORS_ONLN); in GetNumCPUs() 418 if (NumCPU < 0) { in GetNumCPUs() 423 return NumCPU; in GetNumCPUs()
|
/external/llvm-project/libcxx/utils/google-benchmark/src/ |
D | sysinfo.cc | 402 int NumCPU = -1; in GetNumCPUs() local 403 if (GetSysctl("hw.ncpu", &NumCPU)) return NumCPU; in GetNumCPUs() 417 int NumCPU = sysconf(_SC_NPROCESSORS_ONLN); in GetNumCPUs() 418 if (NumCPU < 0) { in GetNumCPUs() 423 return NumCPU; in GetNumCPUs()
|
/external/google-benchmark/src/ |
D | sysinfo.cc | 460 int NumCPU = -1; in GetNumCPUs() local 461 if (GetSysctl("hw.ncpu", &NumCPU)) return NumCPU; in GetNumCPUs() 475 int NumCPU = sysconf(_SC_NPROCESSORS_ONLN); in GetNumCPUs() 476 if (NumCPU < 0) { in GetNumCPUs() 481 return NumCPU; in GetNumCPUs()
|
/external/boringssl/src/util/fipstools/acvp/acvptool/test/ |
D | check_expected.go | 89 work := make(chan invocation, runtime.NumCPU()) 93 for i := 0; i < runtime.NumCPU(); i++ {
|
/external/skia/tools/fm/fm_bot/ |
D | fm_bot.go | 26 if n := runtime.NumCPU(); n < limit { 36 var cpuLimit = flag.Int("cpuLimit", runtime.NumCPU(),
|
/external/skia/infra/bots/task_drivers/fm_driver/ |
D | fm_driver.go | 300 for i := 0; i < runtime.NumCPU(); i++ { 345 approxNumBatches := runtime.NumCPU()
|
/external/swiftshader/tests/regres/cmd/run_testlist/ |
D | main.go | 58 …numThreads = flag.Int("num-threads", min(runtime.NumCPU(), 100), "number of parallel test ru…
|
/external/boringssl/src/util/fipstools/cavp/ |
D | run_cavp.go | 420 numWorkers := runtime.NumCPU()
|
/external/boringssl/src/util/ |
D | all_tests.go | 46 …numWorkers = flag.Int("num-workers", runtime.NumCPU(), "Runs the given number of workers when…
|
/external/swiftshader/tests/regres/cmd/regres/ |
D | main.go | 78 numParallelTests = runtime.NumCPU() 525 …if err := shell.Shell(buildTimeout, r.make, buildDir, fmt.Sprintf("-j%d", runtime.NumCPU())); err … 1130 …if err := shell.Shell(buildTimeout, t.r.make, t.buildDir, fmt.Sprintf("-j%d", runtime.NumCPU())); …
|
/external/toolchain-utils/go/patch/go-1.10.2/ |
D | go2.patch | 10 numParallel = flag.Int("n", runtime.NumCPU(), "number of parallel tests to run")
|
/external/boringssl/src/ssl/test/runner/ |
D | runner.go | 65 …numWorkersFlag = flag.Int("num-workers", runtime.NumCPU(), "The number of workers to run…
|