Home
last modified time | relevance | path

Searched refs:NumCPU (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/llvm/utils/benchmark/src/
Dsysinfo.cc368 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/
Dsysinfo.cc402 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/
Dsysinfo.cc402 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/
Dsysinfo.cc460 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/
Dcheck_expected.go89 work := make(chan invocation, runtime.NumCPU())
93 for i := 0; i < runtime.NumCPU(); i++ {
/external/skia/tools/fm/fm_bot/
Dfm_bot.go26 if n := runtime.NumCPU(); n < limit {
36 var cpuLimit = flag.Int("cpuLimit", runtime.NumCPU(),
/external/skia/infra/bots/task_drivers/fm_driver/
Dfm_driver.go300 for i := 0; i < runtime.NumCPU(); i++ {
345 approxNumBatches := runtime.NumCPU()
/external/swiftshader/tests/regres/cmd/run_testlist/
Dmain.go58 …numThreads = flag.Int("num-threads", min(runtime.NumCPU(), 100), "number of parallel test ru…
/external/boringssl/src/util/fipstools/cavp/
Drun_cavp.go420 numWorkers := runtime.NumCPU()
/external/boringssl/src/util/
Dall_tests.go46 …numWorkers = flag.Int("num-workers", runtime.NumCPU(), "Runs the given number of workers when…
/external/swiftshader/tests/regres/cmd/regres/
Dmain.go78 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/
Dgo2.patch10 numParallel = flag.Int("n", runtime.NumCPU(), "number of parallel tests to run")
/external/boringssl/src/ssl/test/runner/
Drunner.go65 …numWorkersFlag = flag.Int("num-workers", runtime.NumCPU(), "The number of workers to run…