Home
last modified time | relevance | path

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

/system/extras/cpustats/
Dcpustats.c53 static int cpu_count, delay, iterations; variable
107 cpu_count = get_cpu_count(); in main()
108 if (cpu_count < 1) die("Unexpected cpu count\n"); in main()
110 old_cpus = malloc(sizeof(struct cpu_info) * cpu_count); in main()
112 new_cpus = malloc(sizeof(struct cpu_info) * cpu_count); in main()
115 for (i = 0; i < cpu_count; i++) { in main()
160 for (i = 0; i < cpu_count; i++) { in main()
180 int cpu_count = get_cpu_count_from_file("/sys/devices/system/cpu/present"); in get_cpu_count() local
181 if (cpu_count != get_cpu_count_from_file("/sys/devices/system/cpu/online")) { in get_cpu_count()
184 return cpu_count; in get_cpu_count()
[all …]
/system/extras/taskstats/
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()
/system/extras/simpleperf/
DETMRecorder.cpp142 int cpu_count = get_nprocs_conf(); in ReadEtmInfo() local
159 return (etm_info_.size() == cpu_count); in ReadEtmInfo()
/system/extras/iotop/
Dtaskstats.cpp179 cpu_delay_count_ = taskstats_stats.cpu_count; in TaskStatistics()