Searched refs:cpu_info (Results 1 – 2 of 2) sorted by relevance
/system/extras/cpustats/ |
D | cpustats.c | 44 struct cpu_info { struct 52 static struct cpu_info old_total_cpu, new_total_cpu, *old_cpus, *new_cpus; argument 58 static long unsigned get_cpu_total_time(struct cpu_info *cpu); 61 static void print_cpu_stats(char *label, struct cpu_info *new_cpu, struct cpu_info *old_cpu, 63 static void print_freq_stats(struct cpu_info *new_cpu, struct cpu_info *old_cpu); 71 struct cpu_info *tmp_cpus, tmp_total_cpu; in main() 109 old_cpus = malloc(sizeof(struct cpu_info) * cpu_count); in main() 111 new_cpus = malloc(sizeof(struct cpu_info) * cpu_count); in main() 291 static long unsigned get_cpu_total_time(struct cpu_info *cpu) { in get_cpu_total_time() 317 static void print_cpu_stats(char *label, struct cpu_info *new_cpu, struct cpu_info *old_cpu, in print_cpu_stats() [all …]
|
/system/core/toolbox/ |
D | top.c | 45 struct cpu_info { struct 92 static struct cpu_info old_cpu, new_cpu;
|