/bionic/libc/private/ |
get_cpu_count_from_string.h | 34 int cpu_count = 0; local 40 cpu_count += cpu - last_cpu; 42 cpu_count++; 52 return cpu_count;
|
/external/google-breakpad/src/google_breakpad/processor/ |
system_info.h | 47 cpu_count(0) {} 56 cpu_count = 0; 93 int cpu_count; member in struct:google_breakpad::SystemInfo
|
/bionic/libc/bionic/ |
sysinfo.cpp | 65 int cpu_count = 1; local 71 cpu_count = GetCpuCountFromString(line); 76 return cpu_count;
|
/external/python/futures/concurrent/futures/ |
thread.py | 15 from multiprocessing import cpu_count 18 def cpu_count(): function 109 max_workers = (cpu_count() or 1) * 5
|
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
ht_affinity.c | 54 int cpu_count, i, j, k, cpuid; local 60 cpu_count = get_cpu_count(); 61 if (cpu_count == 0) { 63 } else if (cpu_count > 32) 64 cpu_count = 32; 66 for (i = 0, mask = 0x1; i < cpu_count; i++, mask = mask << 1) { 94 for (i = 0, mask = 0x3; i < cpu_count - 1; i++, mask = mask << 1) {
|
/external/python/cpython2/Lib/multiprocessing/ |
__init__.py | 48 'Manager', 'Pipe', 'cpu_count', 'log_to_stderr', 'get_logger', 109 def cpu_count(): function
|
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/ |
__init__.py | 48 'Manager', 'Pipe', 'cpu_count', 'log_to_stderr', 'get_logger', 109 def cpu_count(): function
|
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/ |
__init__.py | 48 'Manager', 'Pipe', 'cpu_count', 'log_to_stderr', 'get_logger', 109 def cpu_count(): function
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
__init__.py | 48 'Manager', 'Pipe', 'cpu_count', 'log_to_stderr', 'get_logger', 109 def cpu_count(): function
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
__init__.py | 48 'Manager', 'Pipe', 'cpu_count', 'log_to_stderr', 'get_logger', 109 def cpu_count(): function
|
/external/ltp/testcases/kernel/power_management/lib/ |
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/python/cpython3/Lib/multiprocessing/ |
context.py | 40 def cpu_count(self): member in class:BaseContext 42 num = os.cpu_count()
|
/system/extras/cpustats/ |
cpustats.c | 53 static int cpu_count, delay, iterations; variable 107 cpu_count = get_cpu_count(); 108 if (cpu_count < 1) die("Unexpected cpu count\n"); 110 old_cpus = malloc(sizeof(struct cpu_info) * cpu_count); 112 new_cpus = malloc(sizeof(struct cpu_info) * cpu_count); 115 for (i = 0; i < cpu_count; i++) { 160 for (i = 0; i < cpu_count; i++) { 180 int cpu_count = get_cpu_count_from_file("/sys/devices/system/cpu/present"); local 181 if (cpu_count != get_cpu_count_from_file("/sys/devices/system/cpu/online")) { 184 return cpu_count; 193 int cpu_count; local [all...] |
/bionic/libc/kernel/uapi/linux/ |
taskstats.h | 29 __u64 cpu_count __attribute__((aligned(8))); member in struct:taskstats
|
/external/kernel-headers/original/uapi/linux/ |
taskstats.h | 72 __u64 cpu_count __attribute__((aligned(8))); member in struct:taskstats
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
taskstats.h | 71 __u64 cpu_count __attribute__((aligned(8))); member in struct:taskstats
|
/external/autotest/client/bin/ |
job.py | 675 def cpu_count(self): member in class:base_client_job 721 cpu_count = utils.count_cpus() 722 old_count = self._state.get('client', 'cpu_count') 723 if cpu_count != old_count: 726 (old_count, cpu_count)) 771 self._state.set('client', 'cpu_count', utils.count_cpus()) [all...] |
/external/google-breakpad/src/client/linux/minidump_writer/ |
minidump_writer.cc | 993 int cpu_count = cpus_present.GetCount(); local [all...] |