/aosp12/system/extras/cpustats/ |
H A D | cpustats.c | 57 static int cpu_count, delay, iterations; variable 111 cpu_count = get_cpu_count(); in main() 119 for (i = 0; i < cpu_count; i++) { in main() 164 for (i = 0; i < cpu_count; i++) { in main() 188 return cpu_count; in get_cpu_count() 197 int cpu_count; in get_cpu_count_from_file() local 209 return cpu_count + 1; in get_cpu_count_from_file() 257 for (i = 0; i < cpu_count; i++) { in read_stats() 312 for (i = 0; i < cpu_count; i++) { in print_stats() 388 for (i = 1; i < cpu_count; i++) { in should_print_freq_stats() [all …]
|
/aosp12/bionic/libc/private/ |
H A D | get_cpu_count_from_string.h | 34 int cpu_count = 0; in GetCpuCountFromString() local 40 cpu_count += cpu - last_cpu; in GetCpuCountFromString() 42 cpu_count++; in GetCpuCountFromString() 52 return cpu_count; in GetCpuCountFromString()
|
/aosp12/bionic/libc/bionic/ |
H A D | sysinfo.cpp | 66 int cpu_count = 1; in get_nprocs() local 72 cpu_count = GetCpuCountFromString(line); in get_nprocs() 77 return cpu_count; in get_nprocs()
|
/aosp12/frameworks/rs/tests/lldb/tests/testcases/ |
H A D | test_reduction_combiner.py | 36 lambda self: self.cpu_count == 1, 76 self.cpu_count = sum(map(parse_range, cpu_spec.split(','))) 77 android.push_prop('debug.rs.max-threads', self.cpu_count + 1)
|
/aosp12/system/extras/taskstats/ |
H A D | taskstats.c | 174 s->cpu_count, in print_task_stats() 176 average_ns(s->cpu_delay_total, s->cpu_count), in print_task_stats() 195 s->cpu_count, in print_task_stats() 197 average_ms(s->cpu_delay_total, s->cpu_count), in print_task_stats()
|
/aosp12/bionic/libc/kernel/uapi/linux/ |
H A D | taskstats.h | 29 __u64 cpu_count __attribute__((aligned(8))); member
|
/aosp12/art/tools/ |
H A D | run-libcore-tests.py | 232 args.jobs = multiprocessing.cpu_count()
|
/aosp12/system/extras/iotop/ |
H A D | taskstats.cpp | 172 cpu_delay_count_ = taskstats_stats.cpu_count; in TaskStatistics()
|
/aosp12/bionic/tests/ |
H A D | sched_test.cpp | 85 TEST(sched, cpu_count) { in TEST() argument
|
/aosp12/system/bt/ |
H A D | build.py | 122 self.jobs = multiprocessing.cpu_count()
|
/aosp12/build/make/tools/warn/ |
H A D | warn_common.py | 91 parser.add_argument('--processes', default=multiprocessing.cpu_count(),
|
/aosp12/art/dex2oat/ |
H A D | dex2oat.cc | 251 int cpu_count = sysconf(_SC_NPROCESSORS_CONF); in SetCpuAffinity() local 256 if (cpu >= 0 && cpu < cpu_count) { in SetCpuAffinity() 261 cpu, cpu_count); in SetCpuAffinity()
|
/aosp12/art/test/testrunner/ |
H A D | testrunner.py | 1074 return multiprocessing.cpu_count()
|
/aosp12/build/make/tools/releasetools/ |
H A D | ota_from_target_files | 259 OPTIONS.worker_threads = multiprocessing.cpu_count() // 2
|
H A D | ota_from_target_files.py | 259 OPTIONS.worker_threads = multiprocessing.cpu_count() // 2
|
H A D | blockimgdiff.py | 244 threads = multiprocessing.cpu_count() // 2
|
/aosp12/system/extras/simpleperf/scripts/ |
H A D | report_html.py | 974 '-j', '--jobs', type=int, default=os.cpu_count(),
|