Home
last modified time | relevance | path

Searched refs:cpu_count (Results 1 – 25 of 41) sorted by relevance

12

/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dht_affinity.c54 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/
Dkvm-test-1-run.sh152 cpu_count=`configNR_CPUS.sh $config_template`
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"`"
Dkvm.sh206 cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$CF1`
207 cpu_count=`configfrag_boot_cpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF1" "$cpu_count"`
210 echo $CF1 $cpu_count >> $T/cfgcpu
/external/ltp/testcases/kernel/power_management/lib/
Dpm_sched_mc.py20 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/
Dsystem_info.h47 cpu_count(0) {} in SystemInfo()
56 cpu_count = 0; in Clear()
93 int cpu_count; member
/external/vixl/tools/
Dclang_format.py64 default = multiprocessing.cpu_count(),
65 const = multiprocessing.cpu_count(),
Dlint.py63 default=multiprocessing.cpu_count(),
64 const=multiprocessing.cpu_count(),
Dgenerate_tests.py685 default=multiprocessing.cpu_count(),
Dtest.py230 default=multiprocessing.cpu_count(),
231 const=multiprocessing.cpu_count(),
/external/v8/tools/sanitizers/
Dsancov_merger.py32 from multiprocessing import Pool, cpu_count
47 CPUS = cpu_count()
Dsancov_formatter.py50 from multiprocessing import Pool, cpu_count
101 CPUS = cpu_count()
/external/v8/tools/gcmole/
Dparallel.py37 processes = multiprocessing.cpu_count()
/external/autotest/client/tests/dbench/
Ddbench.py28 nprocs = self.job.cpu_count()
/external/autotest/client/tests/tbench/
Dtbench.py26 nprocs = self.job.cpu_count()
/external/webrtc/webrtc/tools/barcode_tools/
Dhelper_functions.py86 process_pool = multiprocessing.Pool(processes=multiprocessing.cpu_count())
/external/kernel-headers/original/uapi/linux/
Dtaskstats.h71 __u64 cpu_count __attribute__((aligned(8))); member
/external/deqp/scripts/
Dlaunchcontrol_build.py59 threadCount = multiprocessing.cpu_count() + 1
/external/autotest/client/site_tests/power_HotCPUSuspend/
Dpower_HotCPUSuspend.py71 cpus = multiprocessing.cpu_count()
/external/autotest/client/bin/
Djob_unittest.py449 def _setup_check_post_reboot(self, mount_info, cpu_count): argument
463 if cpu_count is not None:
464 utils.count_cpus.expect_call().and_return(cpu_count)
Djob.py671 def cpu_count(self): member in base_client_job
717 cpu_count = utils.count_cpus()
719 if cpu_count != old_count:
722 (old_count, cpu_count))
/external/clang/
Dbuild.py140 debug_clang=None, max_jobs=multiprocessing.cpu_count()):
181 max(1, min(max_jobs, multiprocessing.cpu_count())))
624 default=multiprocessing.cpu_count(),
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer.cc993 int cpu_count = cpus_present.GetCount(); in WriteCPUInformation() local
994 if (cpu_count > 255) in WriteCPUInformation()
995 cpu_count = 255; in WriteCPUInformation()
996 sys_info->number_of_processors = static_cast<uint8_t>(cpu_count); in WriteCPUInformation()
/external/google-breakpad/src/processor/
Dmicrodump_processor_unittest.cc104 ASSERT_EQ(2, state->system_info()->cpu_count); in AnalyzeDump()
/external/deqp/scripts/build/
Dconfig.py83 …Generator.__init__(self, "Unix Makefiles", extraBuildArgs = ["-j%d" % multiprocessing.cpu_count()])
/external/vulkan-validation-layers/build-android/
Dbuild.py86 return '-j{}'.format(multiprocessing.cpu_count() * 2)

12