Searched refs:old_total_cpu (Results 1 – 1 of 1) sorted by relevance
52 static struct cpu_info old_total_cpu, new_total_cpu, *old_cpus, *new_cpus; variable130 old_total_cpu.freq_count = new_total_cpu.freq_count = new_cpus[0].freq_count; in main()133 old_total_cpu.freqs = malloc(sizeof(struct freq_info) * old_total_cpu.freq_count); in main()134 if (!old_total_cpu.freqs) die("Could not allocate struct freq_info\n"); in main()142 tmp_total_cpu = old_total_cpu; in main()143 old_total_cpu = new_total_cpu; in main()158 free(old_total_cpu.freqs); in main()309 print_cpu_stats("Total", &new_total_cpu, &old_total_cpu, 1); in print_stats()