Searched refs:old_total_cpu (Results 1 – 1 of 1) sorted by relevance
56 static struct cpu_info old_total_cpu, new_total_cpu, *old_cpus, *new_cpus; variable134 old_total_cpu.freq_count = new_total_cpu.freq_count = new_cpus[0].freq_count; in main()137 old_total_cpu.freqs = malloc(sizeof(struct freq_info) * old_total_cpu.freq_count); in main()138 if (!old_total_cpu.freqs) die("Could not allocate struct freq_info\n"); in main()146 tmp_total_cpu = old_total_cpu; in main()147 old_total_cpu = new_total_cpu; in main()162 free(old_total_cpu.freqs); in main()311 print_cpu_stats("Total", &new_total_cpu, &old_total_cpu, 1); in print_stats()