Home
last modified time | relevance | path

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

/system/extras/cpustats/
Dcpustats.c47 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()
[all …]