Lines Matching refs:freq_count
47 int freq_count; member
72 int i, freq_count; in main() local
116 freq_count = get_freq_scales_count(i); in main()
117 if (freq_count < 1) die("Unexpected frequency scale count\n"); in main()
118 old_cpus[i].freq_count = new_cpus[i].freq_count = freq_count; in main()
119 new_cpus[i].freqs = malloc(sizeof(struct freq_info) * new_cpus[i].freq_count); in main()
121 old_cpus[i].freqs = malloc(sizeof(struct freq_info) * old_cpus[i].freq_count); in main()
130 old_total_cpu.freq_count = new_total_cpu.freq_count = new_cpus[0].freq_count; in main()
131 new_total_cpu.freqs = malloc(sizeof(struct freq_info) * new_total_cpu.freq_count); in main()
133 old_total_cpu.freqs = malloc(sizeof(struct freq_info) * old_total_cpu.freq_count); in main()
248 for (i = 0; i < new_total_cpu.freq_count; i++) { in read_stats()
273 for (i = 0; i < new_cpus[cpu].freq_count; i++) { in read_freq_stats()
360 if (new_cpu->freq_count > 0) { in print_freq_stats()
364 for (i = 0; i < new_cpu->freq_count; i++) { in print_freq_stats()
368 if (i + 1 != new_cpu->freq_count) { in print_freq_stats()
376 for (i = 0; i < new_cpu->freq_count; i++) { in print_freq_stats()
395 for (j = 0; j < new_cpus[i].freq_count; j++) { in should_print_freq_stats()
416 if (new_cpus[i].freq_count != new_cpus[0].freq_count) { in should_aggregate_freq_stats()
419 for (j = 0; j < new_cpus[i].freq_count; j++) { in should_aggregate_freq_stats()