/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 | 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 159 echo CPU count limited from $cpu_count to $vcpus >> $resdir/Warnings 160 cpu_count=$vcpus 162 qemu_args="`specify_qemu_cpus "$QEMU" "$qemu_args" "$cpu_count"`"
|
D | kvm.sh | 213 cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$CF1` 214 cpu_count=`configfrag_boot_cpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF1" "$cpu_count"` 215 cpu_count=`configfrag_boot_maxcpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF1" "$cpu_count"` 218 echo $CF1 $cpu_count >> $T/cfgcpu
|
/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/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/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/vixl/tools/ |
D | clang_format.py | 64 default = multiprocessing.cpu_count(), 65 const = multiprocessing.cpu_count(),
|
D | lint.py | 63 default=multiprocessing.cpu_count(), 64 const=multiprocessing.cpu_count(),
|
D | generate_tests.py | 692 default=multiprocessing.cpu_count(),
|
/external/v8/tools/sanitizers/ |
D | sancov_merger.py | 32 from multiprocessing import Pool, cpu_count 47 CPUS = cpu_count()
|
D | sancov_formatter.py | 50 from multiprocessing import Pool, cpu_count 101 CPUS = cpu_count()
|
/external/perfetto/src/ftrace_reader/ |
D | ftrace_controller_unittest.cc | 142 explicit MockFtraceProcfs(size_t cpu_count = 1) : FtraceProcfs("/root/") { in MockFtraceProcfs() argument 143 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(cpu_count)); in MockFtraceProcfs() 248 size_t cpu_count = 1) { in CreateTestController() argument 261 new NiceMock<MockFtraceProcfs>(cpu_count)); in CreateTestController() 264 std::unique_ptr<MockFtraceProcfs>(new MockFtraceProcfs(cpu_count)); in CreateTestController()
|
/external/v8/tools/gcmole/ |
D | parallel.py | 37 processes = multiprocessing.cpu_count()
|
/external/python/cpython3/Lib/multiprocessing/ |
D | context.py | 40 def cpu_count(self): member in BaseContext 42 num = os.cpu_count()
|
/external/autotest/client/tests/dbench/ |
D | dbench.py | 28 nprocs = self.job.cpu_count()
|
/external/webrtc/webrtc/tools/barcode_tools/ |
D | helper_functions.py | 86 process_pool = multiprocessing.Pool(processes=multiprocessing.cpu_count())
|
/external/autotest/client/tests/tbench/ |
D | tbench.py | 26 nprocs = self.job.cpu_count()
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_test.py | 473 def _benchmarkFlipLeftRight(self, device, cpu_count): argument 478 if cpu_count is not None: 480 config.intra_op_parallelism_threads = cpu_count 495 tag = device + "_%s" % (cpu_count if cpu_count is not None else "_all") 503 def _benchmarkRandomFlipLeftRight(self, device, cpu_count): argument 508 if cpu_count is not None: 510 config.intra_op_parallelism_threads = cpu_count 525 tag = device + "_%s" % (cpu_count if cpu_count is not None else "_all") 554 def _benchmarkAdjustHue(self, device, cpu_count): argument 559 if cpu_count is not None: [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | taskstats.h | 72 __u64 cpu_count __attribute__((aligned(8))); member
|
/external/deqp/scripts/ |
D | launchcontrol_build.py | 59 threadCount = multiprocessing.cpu_count() + 1
|
/external/skqp/tools/skqp/ |
D | download_model | 63 pool = multiprocessing.Pool(processes=multiprocessing.cpu_count() * 2)
|
/external/skia/tools/skqp/ |
D | download_model | 63 pool = multiprocessing.Pool(processes=multiprocessing.cpu_count() * 2)
|
/external/autotest/client/site_tests/power_HotCPUSuspend/ |
D | power_HotCPUSuspend.py | 71 cpus = multiprocessing.cpu_count()
|
/external/python/cpython2/Lib/multiprocessing/dummy/ |
D | __init__.py | 51 from multiprocessing import TimeoutError, cpu_count
|