Searched refs:cpu_count (Results 1 – 4 of 4) sorted by relevance
53 static int cpu_count, delay, iterations; variable107 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() local181 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 …]
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()
142 int cpu_count = get_nprocs_conf(); in ReadEtmInfo() local159 return (etm_info_.size() == cpu_count); in ReadEtmInfo()
179 cpu_delay_count_ = taskstats_stats.cpu_count; in TaskStatistics()