/external/grpc-grpc/tools/run_tests/ |
D | run_microbenchmark.py | 87 '%d' % multiprocessing.cpu_count() 117 if len(benchmarks) >= min(16, multiprocessing.cpu_count()): 122 multiprocessing.cpu_count() / 2)) 123 jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count()) 124 jobset.run(cleanup, maxjobs=multiprocessing.cpu_count()) 130 jobset.run(benchmarks, maxjobs=max(1, multiprocessing.cpu_count() / 2)) 131 jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count()) 132 jobset.run(cleanup, maxjobs=multiprocessing.cpu_count()) 140 '%d' % multiprocessing.cpu_count() 176 jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count()) [all …]
|
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
D | ht_affinity.c | 54 int cpu_count, i, j, k, cpuid; in HT_SetAffinity() local 60 cpu_count = get_cpu_count(); in HT_SetAffinity() 61 if (cpu_count == 0) { in HT_SetAffinity() 63 } else if (cpu_count > 32) in HT_SetAffinity() 64 cpu_count = 32; in HT_SetAffinity() 66 for (i = 0, mask = 0x1; i < cpu_count; i++, mask = mask << 1) { in HT_SetAffinity() 94 for (i = 0, mask = 0x3; i < cpu_count - 1; i++, mask = mask << 1) { in HT_SetAffinity()
|
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/ |
D | distort_image_ops_test.py | 256 def _benchmark_adjust_hue_in_yiq(self, device, cpu_count): argument 261 if cpu_count is not None: 263 config.intra_op_parallelism_threads = cpu_count 280 tag = device + '_%s' % (cpu_count if cpu_count is not None else 'all') 300 def _benchmark_adjust_saturation_in_yiq(self, device, cpu_count): argument 305 if cpu_count is not None: 307 config.intra_op_parallelism_threads = cpu_count 325 tag = '%s' % (cpu_count) if cpu_count is not None else '_all'
|
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/ |
D | kvm-test-1-run.sh | 152 cpu_count=`configNR_CPUS.sh $resdir/ConfigFragment` 153 cpu_count=`configfrag_boot_cpus "$boot_args" "$config_template" "$cpu_count"` 155 if test $cpu_count -gt $vcpus 157 echo CPU count limited from $cpu_count to $vcpus | tee -a $resdir/Warnings 158 cpu_count=$vcpus 160 qemu_args="`specify_qemu_cpus "$QEMU" "$qemu_args" "$cpu_count"`"
|
D | kvm.sh | 225 cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$CF1` 226 cpu_count=`configfrag_boot_cpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF1" "$cpu_count"` 227 cpu_count=`configfrag_boot_maxcpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF1" "$cpu_count"` 230 echo $CF1 $cpu_count >> $T/cfgcpu
|
/external/ltp/testcases/kernel/power_management/lib/ |
D | pm_sched_mc.py | 20 cpu_count = 0 variable 42 global cpu_count 45 cpu_count += 1 57 for i in range(0, cpu_count): 154 for i in range(0, cpu_count): 174 for i in range(0, cpu_count): 192 for i in range(0, cpu_count): 244 for i in range(0, cpu_count): 299 threads = cpu_count / socket_count 306 threads = cpu_count [all …]
|
/external/google-breakpad/src/google_breakpad/processor/ |
D | system_info.h | 47 cpu_count(0) {} in SystemInfo() 56 cpu_count = 0; in Clear() 93 int cpu_count; member
|
/external/bcc/src/lua/bcc/vendor/ |
D | posix.lua | 67 local function cpu_count() function 80 cpu_count=cpu_count,
|
/external/python/futures/concurrent/futures/ |
D | thread.py | 15 from multiprocessing import cpu_count 18 def cpu_count(): function 109 max_workers = (cpu_count() or 1) * 5
|
/external/jemalloc_new/scripts/ |
D | gen_run_tests.py | 6 from multiprocessing import cpu_count 12 nparallel = cpu_count() * 2
|
/external/bcc/examples/networking/xdp/ |
D | xdp_redirect_cpu.py | 11 from multiprocessing import cpu_count 26 max_cpu = cpu_count()
|
/external/autotest/server/site_tests/kernel_IdlePerf/ |
D | kernel_IdlePerf.py | 95 self.cpu_count = int(host.run_output('nproc --all')) 96 logging.info('Found {} cpus'.format(self.cpu_count)) 117 for cpu in range(0, self.cpu_count):
|
/external/u-boot/tools/ |
D | genboardscfg.py | 430 cpu_count = multiprocessing.cpu_count() 432 cpu_count = 1 438 parser.add_option('-j', '--jobs', type='int', default=cpu_count,
|
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/ |
D | worker_server.py | 44 cores = multiprocessing.cpu_count() 70 server_threads = multiprocessing.cpu_count() * 5 180 return control_pb2.CoreResponse(cores=multiprocessing.cpu_count())
|
/external/bcc/tests/python/ |
D | test_percpu.py | 42 for i in range(0, multiprocessing.cpu_count()): 72 for i in range(0, multiprocessing.cpu_count()):
|
D | test_utils.py | 13 num_cores = multiprocessing.cpu_count()
|
D | test_perf_event.py | 42 cflags=["-DNUM_CPUS=%d" % multiprocessing.cpu_count()])
|
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_controller_unittest.cc | 138 explicit MockFtraceProcfs(size_t cpu_count = 1) : FtraceProcfs("/root/") { in MockFtraceProcfs() argument 139 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(cpu_count)); in MockFtraceProcfs() 271 size_t cpu_count = 1) { in CreateTestController() argument 282 new NiceMock<MockFtraceProcfs>(cpu_count)); in CreateTestController() 285 std::unique_ptr<MockFtraceProcfs>(new MockFtraceProcfs(cpu_count)); in CreateTestController()
|
/external/v8/tools/sanitizers/ |
D | sancov_merger.py | 32 from multiprocessing import Pool, cpu_count 47 CPUS = cpu_count()
|
/external/vixl/tools/ |
D | clang_format.py | 73 default = multiprocessing.cpu_count(), 74 const = multiprocessing.cpu_count(),
|
D | lint.py | 63 default=multiprocessing.cpu_count(), 64 const=multiprocessing.cpu_count(),
|
/external/v8/tools/gcmole/ |
D | parallel.py | 37 processes = multiprocessing.cpu_count()
|
/external/skia/infra/bots/assets/opencl_intel_neo_linux/ |
D | create.py | 52 subprocess.check_call(['make', '-j%d' % multiprocessing.cpu_count(),
|
/external/skqp/infra/bots/assets/opencl_intel_neo_linux/ |
D | create.py | 52 subprocess.check_call(['make', '-j%d' % multiprocessing.cpu_count(),
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | main.py | 457 cpu_count = os.cpu_count() 458 if cpu_count: 459 print("== CPU count:", cpu_count)
|