/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/crosvm/x86_64/src/ |
D | cpuid.rs | 49 cpu_count: usize, in filter_cpuid() 73 if cpu_count > 1 { in filter_cpuid() 74 entry.ebx |= (cpu_count as u32) << EBX_CPU_COUNT_SHIFT; in filter_cpuid() 94 if cpu_count > 1 { in filter_cpuid() 96 cpu_count as u32 in filter_cpuid() 97 } else if cpu_count % 2 == 0 { in filter_cpuid() 98 (cpu_count >> 1) as u32 in filter_cpuid() 115 if no_smt || (cpu_count == 1) { in filter_cpuid() 120 } else if cpu_count % 2 == 0 { in filter_cpuid() 126 let cpu_bits: u32 = 32 - ((cpu_count - 1) as u32).leading_zeros(); in filter_cpuid() [all …]
|
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/ |
D | run_microbenchmark.py | 123 if len(benchmarks) >= min(16, multiprocessing.cpu_count()): 128 multiprocessing.cpu_count() / 2)) 129 jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count()) 130 jobset.run(cleanup, maxjobs=multiprocessing.cpu_count()) 136 jobset.run(benchmarks, maxjobs=max(1, multiprocessing.cpu_count() / 2)) 137 jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count()) 138 jobset.run(cleanup, maxjobs=multiprocessing.cpu_count()) 180 jobset.run(profile_analysis, maxjobs=multiprocessing.cpu_count()) 181 jobset.run(cleanup, maxjobs=multiprocessing.cpu_count()) 188 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/linux-kselftest/tools/testing/selftests/rcutorture/bin/ |
D | kvm-test-1-run.sh | 134 cpu_count=`configNR_CPUS.sh $resdir/ConfigFragment` 135 cpu_count=`configfrag_boot_cpus "$boot_args" "$config_template" "$cpu_count"` 137 if test $cpu_count -gt $vcpus 139 echo CPU count limited from $cpu_count to $vcpus | tee -a $resdir/Warnings 140 cpu_count=$vcpus 142 qemu_args="`specify_qemu_cpus "$QEMU" "$qemu_args" "$cpu_count"`"
|
D | kvm.sh | 227 cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$CF1` 228 cpu_count=`configfrag_boot_cpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF1" "$cpu_count"` 229 cpu_count=`configfrag_boot_maxcpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF1" "$cpu_count"` 232 echo $CF1 $cpu_count >> $T/cfgcpu
|
/external/google-breakpad/src/google_breakpad/processor/ |
D | system_info.h | 47 cpu_count(0), gl_version(), gl_vendor(), gl_renderer() {} in SystemInfo() 56 cpu_count = 0; in Clear() 96 int cpu_count; member
|
/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/bcc/src/lua/bcc/vendor/ |
D | posix.lua | 67 local function cpu_count() function 80 cpu_count=cpu_count,
|
/external/cpu_features/ndk_compat/ |
D | cpu-features.c | 183 int android_setCpu(int cpu_count, uint64_t cpu_features) { in android_setCpu() argument 186 g_cpuCount = (cpu_count <= 0 ? 1 : cpu_count); in android_setCpu() 199 int android_setCpuArm(int cpu_count, uint64_t cpu_features, uint32_t cpu_id) { in android_setCpuArm() argument 200 if (!android_setCpu(cpu_count, cpu_features)) return 0; in android_setCpuArm()
|
D | cpu-features.h | 301 extern int android_setCpu(int cpu_count, uint64_t cpu_features); 314 extern int android_setCpuArm(int cpu_count, uint64_t cpu_features,
|
/external/webrtc/tools_webrtc/ |
D | gtest_parallel_wrapper_test.py | 36 expected = 2 * multiprocessing.cpu_count() 41 expected = max(multiprocessing.cpu_count() // 2, 1) 157 workers = 2 * multiprocessing.cpu_count() 163 workers = max(multiprocessing.cpu_count() // 2, 1)
|
/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/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/autotest/server/site_tests/kernel_IdlePerf/ |
D | kernel_IdlePerf.py | 102 self.cpu_count = int(host.run_output('nproc --all')) 103 logging.info('Found {} cpus'.format(self.cpu_count)) 124 for cpu in range(0, self.cpu_count):
|
/external/openscreen/build/code_coverage/ |
D | merge_lib.py | 117 cpu_count = multiprocessing.cpu_count() 118 counts = max(10, cpu_count - 5) # Use 10+ processes, but leave 5 cpu cores.
|
/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()
|
/external/skia/gn/toolchain/ |
D | num_cpus.py | 12 print(multiprocessing.cpu_count())
|
/external/python/cpython3/kokoro/ |
D | build.py | 91 '-j{}'.format(multiprocessing.cpu_count()), 98 '-j{}'.format(multiprocessing.cpu_count()),
|
/external/vixl/tools/ |
D | clang_tidy.py | 54 default=multiprocessing.cpu_count(), 55 const=multiprocessing.cpu_count(),
|
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_controller_unittest.cc | 102 explicit MockFtraceProcfs(size_t cpu_count = 1) : FtraceProcfs("/root/") { in MockFtraceProcfs() argument 103 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(cpu_count)); in MockFtraceProcfs() 211 size_t cpu_count = 1) { in CreateTestController() argument 218 new NiceMock<MockFtraceProcfs>(cpu_count)); in CreateTestController() 221 std::unique_ptr<MockFtraceProcfs>(new MockFtraceProcfs(cpu_count)); in CreateTestController()
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | snapshot_test.py | 129 num_snapshot_shards_per_run=multiprocessing.cpu_count()) 207 num_snapshot_shards_per_run=multiprocessing.cpu_count()) 264 num_snapshot_shards_per_run=multiprocessing.cpu_count()) 280 num_snapshot_shards_per_run=multiprocessing.cpu_count()) 295 num_snapshot_shards_per_run=multiprocessing.cpu_count()) 319 num_snapshot_shards_per_run=multiprocessing.cpu_count()) 354 num_snapshot_shards_per_run=multiprocessing.cpu_count()) 373 num_snapshot_shards_per_run=multiprocessing.cpu_count()) 386 num_snapshot_shards_per_run=multiprocessing.cpu_count()) 404 num_snapshot_shards_per_run=multiprocessing.cpu_count())
|