Home
last modified time | relevance | path

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

/aosp12/system/extras/cpustats/
H A Dcpustats.c57 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 Dget_cpu_count_from_string.h34 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 Dsysinfo.cpp66 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 Dtest_reduction_combiner.py36 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 Dtaskstats.c174 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 Dtaskstats.h29 __u64 cpu_count __attribute__((aligned(8))); member
/aosp12/art/tools/
H A Drun-libcore-tests.py232 args.jobs = multiprocessing.cpu_count()
/aosp12/system/extras/iotop/
H A Dtaskstats.cpp172 cpu_delay_count_ = taskstats_stats.cpu_count; in TaskStatistics()
/aosp12/bionic/tests/
H A Dsched_test.cpp85 TEST(sched, cpu_count) { in TEST() argument
/aosp12/system/bt/
H A Dbuild.py122 self.jobs = multiprocessing.cpu_count()
/aosp12/build/make/tools/warn/
H A Dwarn_common.py91 parser.add_argument('--processes', default=multiprocessing.cpu_count(),
/aosp12/art/dex2oat/
H A Ddex2oat.cc251 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 Dtestrunner.py1074 return multiprocessing.cpu_count()
/aosp12/build/make/tools/releasetools/
H A Dota_from_target_files259 OPTIONS.worker_threads = multiprocessing.cpu_count() // 2
H A Dota_from_target_files.py259 OPTIONS.worker_threads = multiprocessing.cpu_count() // 2
H A Dblockimgdiff.py244 threads = multiprocessing.cpu_count() // 2
/aosp12/system/extras/simpleperf/scripts/
H A Dreport_html.py974 '-j', '--jobs', type=int, default=os.cpu_count(),