Lines Matching refs:freq_count
47 int freq_count; member
76 int i, freq_count; in main() local
120 freq_count = get_freq_scales_count(i); in main()
121 if (freq_count < 1) die("Unexpected frequency scale count\n"); in main()
122 old_cpus[i].freq_count = new_cpus[i].freq_count = freq_count; in main()
123 new_cpus[i].freqs = malloc(sizeof(struct freq_info) * new_cpus[i].freq_count); in main()
125 old_cpus[i].freqs = malloc(sizeof(struct freq_info) * old_cpus[i].freq_count); in main()
134 old_total_cpu.freq_count = new_total_cpu.freq_count = new_cpus[0].freq_count; in main()
135 new_total_cpu.freqs = malloc(sizeof(struct freq_info) * new_total_cpu.freq_count); in main()
137 old_total_cpu.freqs = malloc(sizeof(struct freq_info) * old_total_cpu.freq_count); in main()
252 for (i = 0; i < new_total_cpu.freq_count; i++) { in read_stats()
277 for (i = 0; i < new_cpus[cpu].freq_count; i++) { in read_freq_stats()
354 if (new_cpu->freq_count > 0) { in print_freq_stats()
358 for (i = 0; i < new_cpu->freq_count; i++) { in print_freq_stats()
362 if (i + 1 != new_cpu->freq_count) { in print_freq_stats()
370 for (i = 0; i < new_cpu->freq_count; i++) { in print_freq_stats()
389 for (j = 0; j < new_cpus[i].freq_count; j++) { in should_print_freq_stats()
410 if (new_cpus[i].freq_count != new_cpus[0].freq_count) { in should_aggregate_freq_stats()
413 for (j = 0; j < new_cpus[i].freq_count; j++) { in should_aggregate_freq_stats()